Skip to content

Commit 90919f0

Browse files
committed
Use dev/PR environment
1 parent 681420a commit 90919f0

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/release_created.yaml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,30 @@ concurrency:
1515
cancel-in-progress: false
1616

1717
jobs:
18-
deploy-main:
19-
name: Deploy changes to main in nonprod AWS Account
20-
runs-on: ubuntu-latest
18+
# deploy-main:
19+
# name: Deploy changes to main in nonprod AWS Account
20+
# runs-on: ubuntu-latest
2121

22-
permissions:
23-
id-token: write
24-
contents: read
22+
# permissions:
23+
# id-token: write
24+
# contents: read
2525

26-
steps:
27-
- name: Checkout repository
28-
uses: actions/checkout@v5
26+
# steps:
27+
# - name: Checkout repository
28+
# uses: actions/checkout@v5
2929

30-
- name: Deploy Nonprod Environment
31-
env:
32-
APP_CLIENT_ID: ${{ secrets.APP_CLIENT_ID }}
33-
APP_PEM_FILE: ${{ secrets.APP_PEM_FILE }}
34-
run: |
35-
bash .github/scripts/dispatch_internal_repo_workflow.sh \
36-
--releaseVersion "${{ inputs.release_tag }}" \
37-
--targetWorkflow "dispatch-deploy-static-notify-supplier-api-env.yaml" \
38-
--targetEnvironment "main" \
39-
--targetAccountGroup "nhs-notify-supplier-api-nonprod" \
40-
--targetComponent "api" \
41-
--terraformAction "apply"
30+
# - name: Deploy Nonprod Environment
31+
# env:
32+
# APP_CLIENT_ID: ${{ secrets.APP_CLIENT_ID }}
33+
# APP_PEM_FILE: ${{ secrets.APP_PEM_FILE }}
34+
# run: |
35+
# bash .github/scripts/dispatch_internal_repo_workflow.sh \
36+
# --releaseVersion "${{ inputs.release_tag }}" \
37+
# --targetWorkflow "dispatch-deploy-static-notify-supplier-api-env.yaml" \
38+
# --targetEnvironment "main" \
39+
# --targetAccountGroup "nhs-notify-supplier-api-nonprod" \
40+
# --targetComponent "api" \
41+
# --terraformAction "apply"
4242
deploy-proxy:
4343
name: "Deploy proxy"
4444
runs-on: ubuntu-latest
@@ -61,8 +61,8 @@ jobs:
6161
- name: "Build proxies"
6262
uses: ./.github/actions/build-proxies
6363
with:
64-
environment: "main"
65-
apimEnv: "int"
64+
environment: "pr"
65+
apimEnv: "internal-dev-pr"
6666
runId: "${{ github.run_id }}"
6767
releaseVersion: "${{ inputs.release_tag }}"
6868
isRelease: true

0 commit comments

Comments
 (0)