Skip to content

Commit e1d0f55

Browse files
committed
NRL-1595 Fix exit codes
1 parent 60a702b commit e1d0f55

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy-account-wide-infra.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ jobs:
4444
IS_VALID_ENV: ${{ startsWith(inputs.environment, 'account-') }}
4545
run: |
4646
echo $IS_VALID_ENV
47-
exit $IS_VALID_ENV == true
47+
if [$IS_VALID_ENV == true]; then
48+
exit 0
49+
fi
50+
exit 1
4851
4952
terraform-plan:
5053
name: Terraform Plan - ${{ inputs.environment }}

0 commit comments

Comments
 (0)