Skip to content

Commit

Permalink
🤖 improve ci
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultleouay committed Apr 3, 2024
1 parent fee643f commit 58de334
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
File renamed without changes.
20 changes: 20 additions & 0 deletions .github/workflows/deploy-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Fly Deploy Checker
on:
push:
branches:
- main
paths:
- "apps/checker/**"
jobs:
deploy-checker:
name: Deploy Checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- working-directory: apps/checker
name: Deploy API
run: |
flyctl deploy --remote-only --wait-timeout=500
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main
jobs:
deploy:
name: Deploy app
name: Deploy API
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 58de334

Please sign in to comment.