Skip to content

Commit

Permalink
add fly deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaellaude committed Feb 24, 2024
1 parent 874b786 commit 754896a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/fly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Fly Deploy
on:
push:
branches:
- master # change to main if needed
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
concurrency: deploy-group # optional: ensure only one action runs at a time
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: cd backend # added my me, everything else from https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 comments on commit 754896a

Please sign in to comment.