Skip to content

Commit 0ef88cb

Browse files
authored
Merge pull request #19 from dwyl/fix-deploy-action
Ident deploy action
2 parents a8249ed + a7cca50 commit 0ef88cb

1 file changed

Lines changed: 15 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,18 @@ jobs:
3232
- name: Upload coverage to Codecov
3333
uses: codecov/codecov-action@v1
3434

35-
# Continuous Deployment to Fly.io
36-
# https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
37-
deploy:
38-
name: Deploy app
39-
runs-on: ubuntu-latest
40-
# https://stackoverflow.com/questions/58139406/only-run-job-on-specific-branch-with-github-actions
41-
if: github.ref == 'refs/heads/main'
42-
env:
43-
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
44-
steps:
45-
- uses: actions/checkout@v2
46-
- uses: superfly/[email protected]
47-
with:
48-
args: "deploy"
35+
# Continuous Deployment to Fly.io
36+
# https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
37+
deploy:
38+
name: Deploy app
39+
runs-on: ubuntu-latest
40+
# https://stackoverflow.com/questions/58139406/only-run-job-on-specific-branch-with-github-actions
41+
if: github.ref == 'refs/heads/main'
42+
env:
43+
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
44+
steps:
45+
- uses: actions/checkout@v2
46+
- uses: superfly/[email protected]
47+
with:
48+
args: "deploy"
49+

0 commit comments

Comments
 (0)