Skip to content

Commit

Permalink
Revert "Bump superfly/flyctl-actions from 1.5 to 2"
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyasai authored Jun 1, 2024
1 parent 51c8234 commit e6f80e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,15 @@ jobs:

- name: 🚀 Deploy Staging
if: ${{ github.ref == 'refs/heads/dev' }}
uses: superfly/flyctl-actions@v2
uses: superfly/flyctl-actions@1.5
with:
args: "deploy --app ${{ steps.app_name.outputs.value }}-staging --image registry.fly.io/${{ steps.app_name.outputs.value }}:${{ github.ref_name }}-${{ github.sha }}"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

- name: 🚀 Deploy Production
if: ${{ github.ref == 'refs/heads/main' }}
uses: superfly/flyctl-actions@v2
uses: superfly/flyctl-actions@1.5
with:
args: "deploy --image registry.fly.io/${{ steps.app_name.outputs.value }}:${{ github.ref_name }}-${{ github.sha }}"
env:
Expand Down

0 comments on commit e6f80e7

Please sign in to comment.