Skip to content

Commit 523cc37

Browse files
authored
Upgrade deploy Action
1 parent 6ef5ac0 commit 523cc37

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/fly-deploy.yml

+12-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
name: Fly Deploy
2-
on: [push]
3-
env:
4-
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
2+
on:
3+
push:
4+
branches:
5+
- master
56
jobs:
67
deploy:
7-
name: Deploy app
8-
runs-on: ubuntu-latest
9-
steps:
10-
- uses: actions/checkout@v2
11-
- uses: superfly/flyctl-actions/setup-flyctl@master
12-
- run: flyctl deploy --remote-only
8+
name: Deploy app
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: superfly/flyctl-actions/setup-flyctl@master
13+
- run: flyctl deploy --remote-only
14+
env:
15+
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 commit comments

Comments
 (0)