Skip to content

Commit 7867603

Browse files
authored
fix: deploy new releases automatically to fly.io (#336)
1 parent 43c8887 commit 7867603

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/release.yml

+17
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,20 @@ jobs:
112112
platforms: linux/amd64,linux/arm64,linux/arm/v7
113113
cache-from: type=gha
114114
cache-to: type=gha,mode=max
115+
116+
deploy:
117+
name: Deploy to fly.io
118+
runs-on: ubuntu-latest
119+
needs: release-docker
120+
121+
steps:
122+
- name: Checkout
123+
uses: actions/checkout@v4
124+
125+
- name: Setup flyctl
126+
uses: superfly/flyctl-actions/setup-flyctl@master
127+
128+
- name: Deploy
129+
run: flyctl deploy --remote-only
130+
env:
131+
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 commit comments

Comments
 (0)