Skip to content

Commit

Permalink
testing a theory on cancelled workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ball-slalom committed Mar 5, 2024
1 parent 496e3cf commit 932a34d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,7 @@ jobs:

deploy:
name: Deploy Lambda Package
if: |
${{ !cancelled() && needs.build.result == 'success' &&
needs.tf-apply-prereqs.result != 'failure' }}
if: ${{ !cancelled() && needs.build.result == 'success' && needs.tf-apply-prereqs.result != 'failure' }}
needs:
- env-vars
- build
Expand All @@ -220,9 +218,7 @@ jobs:

tf-plan:
name: Terraform Plan - Dependent Stacks
if: |
${{ !cancelled() && needs.deploy.result == 'success' &&
needs.tf-apply-prereqs.result != 'failure' }}
if: ${{ !cancelled() && needs.deploy.result == 'success' && needs.tf-apply-prereqs.result != 'failure' }}
needs:
- env-vars
- deploy
Expand Down

0 comments on commit 932a34d

Please sign in to comment.