Skip to content

Commit

Permalink
Merge pull request #6 from petergeorgas/pgeorgas/ghactions
Browse files Browse the repository at this point in the history
Add Fly.io Master deployment action
  • Loading branch information
petergeorgas authored Jan 31, 2024
2 parents 07ef837 + ad28a9a commit 6ad50d1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/fly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 comments on commit 6ad50d1

Please sign in to comment.