Skip to content

Commit 931c1bc

Browse files
committed
Add GitHub Actions workflow for automatic Fly.io deployment
1 parent b2f1c0a commit 931c1bc

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Deploy to Fly.io
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Deploy to Fly.io
15+
uses: superfly/flyctl-actions@master
16+
with:
17+
args: "deploy"
18+
env:
19+
FLY_AUTH_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 commit comments

Comments
 (0)