Skip to content

Commit dcef03f

Browse files
authored
Merge pull request #3621 from nhsuk/fix_deployment_workflow
Fix condition to run apply job
2 parents 4feebaa + 028132d commit dcef03f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy-infrastructure.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ jobs:
156156
name: Terraform apply
157157
runs-on: ubuntu-latest
158158
needs: plan
159+
if: always() && needs.plan.result == 'success'
159160
environment: ${{ inputs.environment }}
160161
permissions:
161162
id-token: write

0 commit comments

Comments
 (0)