Skip to content

Commit

Permalink
comment out deployment to Fly.io to avoid build failing
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Oct 8, 2022
1 parent 56e3445 commit 27a4b25
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1

# Continuous Deployment to Fly.io
# https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
deploy:
name: Deploy app
runs-on: ubuntu-latest
needs: build
# https://stackoverflow.com/questions/58139406/only-run-job-on-specific-branch-with-github-actions
if: github.ref == 'refs/heads/main'
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: superfly/[email protected]
with:
args: "deploy"
# # Continuous Deployment to Fly.io
# # https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
# deploy:
# name: Deploy app
# runs-on: ubuntu-latest
# needs: build
# # https://stackoverflow.com/questions/58139406/only-run-job-on-specific-branch-with-github-actions
# if: github.ref == 'refs/heads/main'
# env:
# FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
# steps:
# - uses: actions/checkout@v2
# - uses: superfly/[email protected]
# with:
# args: "deploy"

0 comments on commit 27a4b25

Please sign in to comment.