diff --git a/.github/workflows/build-n-deploy-frontend-to-ocp-dev.yml b/.github/workflows/build-n-deploy-frontend-to-ocp-dev.yml index e1a90aad..c5002d6c 100644 --- a/.github/workflows/build-n-deploy-frontend-to-ocp-dev.yml +++ b/.github/workflows/build-n-deploy-frontend-to-ocp-dev.yml @@ -35,7 +35,7 @@ env: MAX_REPLICAS: "5" # SITE_URL should have no scheme or port. It will be prepended with https:// - HOST_ROUTE: "educ-grad-admin-bbe4c3-dev.apps.silver.devops.gov.bc.ca" + HOST_ROUTE: "educ-grad-admin-${{ secrets.UI_NAMESPACE }}-dev.apps.silver.devops.gov.bc.ca" on: workflow_dispatch: diff --git a/.github/workflows/deploy-backend-to-ocp-prod.yml b/.github/workflows/deploy-backend-to-ocp-prod.yml index 37ef3625..72f7c0c6 100644 --- a/.github/workflows/deploy-backend-to-ocp-prod.yml +++ b/.github/workflows/deploy-backend-to-ocp-prod.yml @@ -30,7 +30,7 @@ env: MAX_REPLICAS: "5" # SITE_URL should have no scheme or port. It will be prepended with https:// - HOST_ROUTE: "educ-grad-admin-${{ env.OPENSHIFT_NAMESPACE }}.apps.silver.devops.gov.bc.ca" + HOST_ROUTE: "educ-grad-admin-${{ secrets.UI_NAMESPACE }}-prod.apps.silver.devops.gov.bc.ca" on: workflow_dispatch: diff --git a/.github/workflows/deploy-backend-to-ocp-test.yml b/.github/workflows/deploy-backend-to-ocp-test.yml index fbc52634..948213d6 100644 --- a/.github/workflows/deploy-backend-to-ocp-test.yml +++ b/.github/workflows/deploy-backend-to-ocp-test.yml @@ -110,4 +110,4 @@ jobs: - name: ZAP Scan uses: zaproxy/action-full-scan@v0.12.0 with: - target: "https://educ-grad-admin-bbe4c3-test.apps.silver.devops.gov.bc.ca" + target: "https://educ-grad-admin-${{ secrets.UI_NAMESPACE }}-test.apps.silver.devops.gov.bc.ca" diff --git a/.github/workflows/deploy-frontend-to-ocp-test.yml b/.github/workflows/deploy-frontend-to-ocp-test.yml index 0695fc61..7f13d90b 100644 --- a/.github/workflows/deploy-frontend-to-ocp-test.yml +++ b/.github/workflows/deploy-frontend-to-ocp-test.yml @@ -33,7 +33,7 @@ env: MAX_REPLICAS: "5" # SITE_URL should have no scheme or port. It will be prepended with https:// - HOST_ROUTE: "educ-grad-admin-bbe4c3-test.apps.silver.devops.gov.bc.ca" + HOST_ROUTE: "educ-grad-admin-${{ secrets.UI_NAMESPACE }}-test.apps.silver.devops.gov.bc.ca" on: workflow_dispatch: @@ -101,4 +101,4 @@ jobs: - name: ZAP Scan uses: zaproxy/action-full-scan@v0.12.0 with: - target: "https://educ-grad-admin-bbe4c3-test.apps.silver.devops.gov.bc.ca" + target: "https://educ-grad-admin-${{ secrets.UI_NAMESPACE }}-test.apps.silver.devops.gov.bc.ca"