Skip to content

Commit

Permalink
Uncomment the deploy job in .github/workflows/dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DemianParkhomenko committed Dec 15, 2023
1 parent f051fbe commit e8de4a3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,13 @@ jobs:
- run: npm run prettier:check
- run: npm run eslint:check
- run: npm run test
# TODO: Add deploy job
# deploy:
# runs-on: ubuntu-latest
# needs: [test, analyze]
# if: github.ref == 'refs/heads/main'
# steps:
# - uses: actions/checkout@v3
# - uses: superfly/flyctl-actions/setup-flyctl@master
# - run: flyctl deploy --remote-only
# env:
# FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
deploy:
runs-on: ubuntu-latest
needs: [test, analyze]
# if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e8de4a3

Please sign in to comment.