fix: strip local uv path sources before installing dependencies (#24) #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Worker | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "apps/worker/**" | |
| - "packages/shared/**" | |
| - "pnpm-lock.yaml" | |
| # Only one deploy at a time | |
| concurrency: | |
| group: deploy-worker | |
| cancel-in-progress: false | |
| jobs: | |
| # Gate deployment behind a successful CI run | |
| ci: | |
| name: CI | |
| uses: ./.github/workflows/ci.yml | |
| deploy: | |
| name: Deploy to Fly.io | |
| runs-on: ubuntu-latest | |
| needs: ci | |
| timeout-minutes: 15 | |
| environment: production | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Fly CLI | |
| uses: superfly/flyctl-actions/setup-flyctl@master | |
| - name: Deploy worker | |
| run: flyctl deploy --config apps/worker/fly.toml --dockerfile apps/worker/Dockerfile --remote-only | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |