Skip to content

Commit

Permalink
👷 github: skip deployment on failed builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed May 24, 2023
1 parent dccc6e8 commit 5108cbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
deploy:
environment: ${{ inputs.environment || 'goerli' }}
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
env:
IMAGE_TAG: ${{ format('gcr.io/exactly-liq-bot/liquidation-bot:{0}', github.sha) }}
steps:
Expand Down

0 comments on commit 5108cbc

Please sign in to comment.