Skip to content

Commit

Permalink
Upd: Replace redirectUrls for staging/demo environments
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Nov 16, 2023
1 parent ac1e4e6 commit 04214d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,13 @@ jobs:
location: ${{ env.GKE_ZONE }}
credentials: ${{ secrets.GKE_SA_KEY }}

- name: Replace URLs
- name: Replace Base URL
run: |
sed -i 's/"baseUrl": ".*"/"baseUrl": "https:\/\/demo-consent-bb-api.igrant.io\/v2"/' public/config/config.json
- name: Replace Redirect URL
run: |
sed -i 's/"redirectUrl": ".*"/"redirectUrl": "https:\/\/demo-consent-bb-privacy-dashboard.igrant.io\/login"/' public/config/config.json
# Build docker image, publish docker image to gcp container registry, deploy to production
- name: Build docker image, publish docker image to gcp container registry, deploy to production
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,13 @@ jobs:
location: ${{ env.GKE_ZONE }}
credentials: ${{ secrets.GKE_SA_KEY }}

- name: Replace URLs
- name: Replace Base URL
run: |
sed -i 's/"baseUrl": ".*"/"baseUrl": "https:\/\/staging-consent-bb-api.igrant.io\/v2"/' public/config/config.json
- name: Replace Redirect URL
run: |
sed -i 's/"redirectUrl": ".*"/"redirectUrl": "https:\/\/staging-consent-bb-privacy-dashboard.igrant.io\/login"/' public/config/config.json
# Build docker image, publish docker image to gcp container registry, deploy to production
- name: Build docker image, publish docker image to gcp container registry, deploy to production
Expand Down

0 comments on commit 04214d8

Please sign in to comment.