Skip to content

Commit

Permalink
use superfly action
Browse files Browse the repository at this point in the history
  • Loading branch information
madhums committed Jan 4, 2024
1 parent 5a82b9d commit 1f6bdf3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ on:

jobs:
deploy:
name: Deploy
if: |
github.event.workflow_run.conclusion == 'success'
concurrency: deploy
runs-on: ubuntu-latest
environment: production
steps:
- uses: dentarg/fly@v1
# This step checks out a copy of your repository.
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
with:
fly-token: ${{ secrets.FLY_API_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
version: 1.4
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 comments on commit 1f6bdf3

Please sign in to comment.