Skip to content

Commit

Permalink
turn off deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Steinmacher committed Jul 1, 2023
1 parent 947225b commit 49865a4
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,20 +144,20 @@ jobs:
mv ./other/Dockerfile ./Dockerfile
mv ./other/.dockerignore ./.dockerignore
- name: πŸš€ Deploy Staging
if: ${{ github.ref == 'refs/heads/dev' }}
uses: superfly/flyctl-actions@1.3
with:
args:
'deploy --remote-only --build-arg COMMIT_SHA=${{ github.sha }} --app
${{ steps.app_name.outputs.value }}-staging'
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

- name: πŸš€ Deploy Production
if: ${{ github.ref == 'refs/heads/main' }}
uses: superfly/flyctl-actions@1.3
with:
args: 'deploy --remote-only --build-arg COMMIT_SHA=${{ github.sha }}'
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
# - name: πŸš€ Deploy Staging
# if: ${{ github.ref == 'refs/heads/dev' }}
# uses: superfly/flyctl-actions@1.3
# with:
# args:
# 'deploy --remote-only --build-arg COMMIT_SHA=${{ github.sha }} --app
# ${{ steps.app_name.outputs.value }}-staging'
# env:
# FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

# - name: πŸš€ Deploy Production
# if: ${{ github.ref == 'refs/heads/main' }}
# uses: superfly/flyctl-actions@1.3
# with:
# args: 'deploy --remote-only --build-arg COMMIT_SHA=${{ github.sha }}'
# env:
# FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 comments on commit 49865a4

Please sign in to comment.