mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-28 11:40:57 -05:00
Don't update the deployment if we didn't start it (#4995)
This commit is contained in:
parent
088bfe8e7e
commit
2d303aab53
1 changed files with 5 additions and 1 deletions
6
.github/workflows/cd.yml
vendored
6
.github/workflows/cd.yml
vendored
|
@ -128,7 +128,11 @@ jobs:
|
|||
|
||||
- name: Update ${{ matrix.images.environment }} Deployment
|
||||
uses: bobheadxi/deployments@v1.4.0
|
||||
if: always()
|
||||
# We depend on the 'deployment' step outputs, so we can't run this step
|
||||
# if the 'deployment' step didn't run. This can happen if any step
|
||||
# before the 'deployment' step fails. That's why 'always()' is not
|
||||
# suitable here.
|
||||
if: steps.deployment.conclusion != 'cancelled' && steps.deployment.conclusion != 'skipped'
|
||||
with:
|
||||
step: finish
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue