Skip to content

Commit 368b366

Browse files
committed
Add GitHub Actions workflow for automatic Fly.io deployment
1 parent 2aa2d8b commit 368b366

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
name: Deploy to Fly.io
2-
1+
name: Fly Deploy
32
on:
43
push:
54
branches:
65
- main
7-
86
jobs:
97
deploy:
8+
name: Deploy app
109
runs-on: ubuntu-latest
10+
concurrency: deploy-group
1111
steps:
1212
- uses: actions/checkout@v4
13-
14-
- name: Deploy to Fly.io
15-
uses: superfly/flyctl-actions@master
16-
with:
17-
args: "deploy"
13+
- uses: superfly/flyctl-actions/setup-flyctl@master
14+
- run: flyctl deploy --remote-only
1815
env:
1916
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 commit comments

Comments
 (0)