Named volume for workflows and added init for mountpoint for runtime … #205
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: Fly Deploy Workflows | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "apps/workflows/**" | |
| - "packages/db/**" | |
| - "packages/emails/**" | |
| - "packages/utils/**" | |
| - "packages/tsconfig/**" | |
| - "packages/notifications/**" | |
| jobs: | |
| deploy-workflows: | |
| name: Deploy Workflows | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: superfly/flyctl-actions/setup-flyctl@master | |
| - run: flyctl deploy --config apps/workflows/fly.toml | |
| --dockerfile apps/workflows/Dockerfile --remote-only --wait-timeout=500 | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |