File tree Expand file tree Collapse file tree 4 files changed +33
-78
lines changed
Expand file tree Collapse file tree 4 files changed +33
-78
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,22 @@ jobs:
4545 matrix :
4646 component : [acct, app]
4747
48- uses : ./.github/workflows/reusable_internal_repo_build.yaml
49- secrets : inherit
50- with :
51- releaseVersion : main
52- targetWorkflow : " dispatch-deploy-static-notify-web-template-management-env.yaml"
53- targetEnvironment : " main"
54- targetAccountGroup : " nhs-notify-template-management-dev"
55- targetComponent : ${{ matrix.component }}
56- terraformAction : " apply"
48+ steps :
49+ - name : Checkout repository
50+ uses : actions/checkout@v4
51+
52+ - name : Updating Main Environment
53+ env :
54+ PR_TRIGGER_PAT : ${{ secrets.PR_TRIGGER_PAT }}
55+ run : |
56+ bash .github/scripts/dispatch_internal_repo_workflow.sh \
57+ --infraRepoName "nhs-notify-web-template-management" \
58+ --releaseVersion "main" \
59+ --targetWorkflow "dispatch-deploy-static-notify-web-template-management-env.yaml" \
60+ --targetEnvironment "main" \
61+ --targetAccountGroup "nhs-notify-template-management-dev" \
62+ --targetComponent "${{ matrix.component }}" \
63+ --terraformAction "apply"
5764
5865 check-event-schemas-version-change :
5966 name : Check for event schemas package version change
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ concurrency:
1111jobs :
1212 deploy-main :
1313 name : Deploy changes to main in nonprod AWS Account
14+ runs-on : ubuntu-latest
1415
1516 permissions :
1617 id-token : write
@@ -21,12 +22,19 @@ jobs:
2122 matrix :
2223 component : [acct, app]
2324
24- uses : ./.github/workflows/reusable_internal_repo_build.yaml
25- secrets : inherit
26- with :
27- releaseVersion : ${{ github.event.release.tag_name }}
28- targetWorkflow : " dispatch-deploy-static-notify-web-template-management-env.yaml"
29- targetEnvironment : " main"
30- targetAccountGroup : " nhs-notify-template-management-nonprod"
31- targetComponent : ${{ matrix.component }}
32- terraformAction : " apply"
25+ steps :
26+ - name : Checkout repository
27+ uses : actions/checkout@v4
28+
29+ - name : Deploy Nonprod Environment
30+ env :
31+ PR_TRIGGER_PAT : ${{ secrets.PR_TRIGGER_PAT }}
32+ run : |
33+ bash .github/scripts/dispatch_internal_repo_workflow.sh \
34+ --infraRepoName "nhs-notify-web-template-management" \
35+ --releaseVersion "${{ github.event.release.tag_name }}" \
36+ --targetWorkflow "dispatch-deploy-static-notify-web-template-management-env.yaml" \
37+ --targetEnvironment "main" \
38+ --targetAccountGroup "nhs-notify-template-management-nonprod" \
39+ --targetComponent "${{ matrix.component }}" \
40+ --terraformAction "apply"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ permissions:
1313 contents : read
1414
1515jobs :
16-
1716 create-sandbox-environment :
1817 name : Create Sandbox Environment
1918 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments