Skip to content

Commit

Permalink
fix: use fly image for api deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
meatwallace committed Apr 15, 2024
1 parent dd68ae0 commit 095fe04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,9 @@ jobs:

- run: yarn nx affected -t lint test build

- uses: superfly/flyctl-actions/setup-flyctl@master

- run: yarn deploy:service-api
if: ${{ github.ref_name == 'main' }}
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
2 changes: 1 addition & 1 deletion projects/service-api/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"executor": "nx:run-commands",
"options": {
"commands": [
"fly deploy --local-only --dockerfile projects/service-api/Dockerfile --config projects/service-api/fly.toml"
"flyctl deploy --local-only --dockerfile projects/service-api/Dockerfile --config projects/service-api/fly.toml"
]
}
}
Expand Down

0 comments on commit 095fe04

Please sign in to comment.