Skip to content

Commit 0718def

Browse files
update workflow to deploy on tag creation (#115)
1 parent b3be3f6 commit 0718def

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1-
name: SunBot Deploy
2-
on: [push]
1+
name: app deploy
2+
3+
on:
4+
push:
5+
tags:
6+
- "*"
7+
38
env:
49
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
10+
511
jobs:
612
deploy:
7-
name: Deploy app
8-
runs-on: ubuntu-latest
9-
if: github.ref == 'refs/heads/SunRiseVersion'
10-
steps:
11-
- uses: actions/checkout@v2
12-
- uses: superfly/flyctl-actions/setup-flyctl@master
13-
- run: flyctl deploy --remote-only
13+
name: Deploy app
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: superfly/flyctl-actions/setup-flyctl@master
18+
- run: flyctl deploy --remote-only

0 commit comments

Comments
 (0)