deploy.yml 540 B

1234567891011121314151617181920212223242526272829
  1. name: deploy
  2. on:
  3. push:
  4. branches:
  5. - dontlook
  6. paths:
  7. - "app/**"
  8. workflow_dispatch:
  9. concurrency: ${{ github.workflow }}-${{ github.ref }}
  10. jobs:
  11. deploy:
  12. runs-on: ubuntu-latest
  13. steps:
  14. - uses: actions/checkout@v3
  15. - uses: oven-sh/setup-bun@v1
  16. with:
  17. bun-version: latest
  18. - run: bun install
  19. working-directory: app
  20. - run: bun sst deploy --stage=dev
  21. working-directory: app
  22. env:
  23. CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}