Skip to content

Commit ce2db3b

Browse files
authored
[PRMP-1421] Change CI workflow from sandbox to dev (#229)
* [PRMP-1421] change workflow from sandbox to dev
1 parent ac6b407 commit ce2db3b

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

.github/workflows/terraform-daily-healthcheck-deploy-and-destroy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ jobs:
165165
sandbox: ${{ needs.set_workspace.outputs.workspace }}
166166
environment: development
167167
python_version: "3.11"
168+
is_sandbox: true
168169
secrets:
169170
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}
170171

.github/workflows/terraform-dev-to-main-ci.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
branches:
1010
- main
1111

12+
1213
permissions:
1314
pull-requests: write
1415
id-token: write # This is required for requesting the JWT
@@ -75,24 +76,13 @@ jobs:
7576
name: Deploy Lambdas on NDR Functional Repo
7677
needs: ['terraform_process']
7778
if: github.ref == 'refs/heads/main'
78-
uses: nhsconnect/national-document-repository/.github/workflows/lambdas-deploy-feature-to-sandbox.yml@main
79-
with:
80-
build_branch: main
81-
sandbox: ndr-dev
82-
environment: development
83-
secrets:
84-
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}
79+
uses: nhsconnect/national-document-repository/.github/workflows/lambdas-dev-to-main-ci.yml@main
8580

8681
run_main_repo_deploy_ui:
87-
name: Deploy Lambdas on NDR Functional Repo
82+
name: Deploy UI on NDR Functional Repo
8883
needs: ['terraform_process']
8984
if: github.ref == 'refs/heads/main'
90-
uses: nhsconnect/national-document-repository/.github/workflows/ui-deploy-feature-to-sandbox-manual.yml@main
91-
with:
92-
build_branch: main
93-
sandbox: ndr-dev
94-
environment: development
95-
secrets:
96-
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}
85+
uses: nhsconnect/national-document-repository/.github/workflows/ui-dev-to-main-ci.yml@main
86+
9787

9888

0 commit comments

Comments
 (0)