prod workflow

This commit is contained in:
Adam Cohen Hillel 2025-04-21 00:54:32 +01:00
parent 580e21ce7a
commit 4f3833379a
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
name: Fly Deploy Production
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy production app
runs-on: ubuntu-latest
concurrency: deploy-group # optional: ensure only one action runs at a time
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: cd backend && flyctl deploy --remote-only --config fly.production.toml
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}