We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a702b commit 1a2e259Copy full SHA for 1a2e259
.github/workflows/deploy-account-wide-infra.yml
@@ -15,9 +15,6 @@ run-name: Account-wide infra deployment to ${{ inputs.environment }} of ${{ inpu
15
# Looping through envs to pull certs
16
17
on:
18
- push:
19
- branches:
20
- - NRL-1595**
21
workflow_dispatch:
22
inputs:
23
environment:
@@ -28,6 +25,9 @@ on:
28
25
branch_name:
29
26
description: Branch to deploy
30
27
required: true
+ push:
+ branches:
+ - NRL-1595**
31
32
permissions:
33
id-token: write
@@ -44,7 +44,10 @@ jobs:
44
IS_VALID_ENV: ${{ startsWith(inputs.environment, 'account-') }}
45
run: |
46
echo $IS_VALID_ENV
47
- exit $IS_VALID_ENV == true
+ if [$IS_VALID_ENV == true]; then
48
+ exit 0
49
+ fi
50
+ exit 1
51
52
terraform-plan:
53
name: Terraform Plan - ${{ inputs.environment }}
0 commit comments