Skip to content

Commit 4c28128

Browse files
Use proxygen ptl or prod secrets
1 parent 4c99b67 commit 4c28128

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/actions/build-proxies/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ inputs:
1313
required: false
1414
default: false
1515
environment:
16-
description: "Deployment environment"
16+
description: "Deployment environment (e.g. main, prNNN)"
1717
required: true
1818
apimEnv:
19-
description: "APIM environment"
19+
description: "APIM environment (e.g. internal-dev, int, ref, prod)"
2020
required: true
2121
runId:
2222
description: "GitHub Actions run ID to fetch the OAS artifact from"

.github/actions/build-sandbox/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Can this be deleted? Not used anywhere... Internal builds sandbox proxies
12
name: "Build Sandbox"
23
description: "Build Sandbox"
34
inputs:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
client_id: $PROXYGEN_CLIENT_ID
22
key_id: $PROXYGEN_KID
33
private_key_path: key
4-
base_url: https://identity.prod.api.platform.nhs.uk/realms/api-producers
4+
base_url: https://identity.$PROXYGEN_ENV.api.platform.nhs.uk/realms/api-producers

.github/proxygen-settings.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
endpoint_url: https://proxygen.prod.api.platform.nhs.uk
1+
endpoint_url: https://proxygen.$PROXYGEN_ENV.api.platform.nhs.uk
22
api: nhs-notify-supplier

0 commit comments

Comments
 (0)