Skip to content

Commit 60a702b

Browse files
committed
NRL-1595 revert trigger now that we have initial run to manual
1 parent 813216e commit 60a702b

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

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

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,17 @@ run-name: Account-wide infra deployment to ${{ inputs.environment }} of ${{ inpu
1717
on:
1818
push:
1919
branches:
20-
- "NRL-1595**"
21-
22-
# on:
23-
# workflow_dispatch:
24-
# inputs:
25-
# environment:
26-
# description: "Environment to deploy to"
27-
# required: true
28-
# default: "account-dev"
29-
# type: environment
30-
# branch_name:
31-
# description: Branch to deploy
32-
# required: true
20+
- NRL-1595**
21+
workflow_dispatch:
22+
inputs:
23+
environment:
24+
description: "Environment to deploy to"
25+
required: true
26+
default: "account-dev"
27+
type: environment
28+
branch_name:
29+
description: Branch to deploy
30+
required: true
3331

3432
permissions:
3533
id-token: write
@@ -43,15 +41,15 @@ jobs:
4341
steps:
4442
- name: Validate environment
4543
env:
46-
IS_VALID_ENV: startsWith(${{inputs.environment}}, "account-")
44+
IS_VALID_ENV: ${{ startsWith(inputs.environment, 'account-') }}
4745
run: |
4846
echo $IS_VALID_ENV
4947
exit $IS_VALID_ENV == true
5048
5149
terraform-plan:
5250
name: Terraform Plan - ${{ inputs.environment }}
5351
environment: ${{ inputs.environment }}
54-
if: startsWith(${{inputs.environment}}, "account-")
52+
needs: [check-selected-environment]
5553
runs-on: codebuild-nhsd-nrlf-ci-build-project-${{ github.run_id }}-${{ github.run_attempt }}
5654

5755
steps:

0 commit comments

Comments
 (0)