Skip to content

Commit

Permalink
Add replace tokens action in client-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ssylver93 committed Dec 30, 2024
1 parent 266fd93 commit 9b7b7ba
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/client-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
default: dev

env:
APP_CONFIG_FILE: ./client/wfprev-war/src/main/angular/src/assets/data/appConfig.json
TF_VERSION: 1.8.5
TG_VERSION: 0.48.4
TG_SRC_PATH: terraform
Expand Down Expand Up @@ -50,6 +51,15 @@ jobs:
with:
terragrunt_version: ${{ env.TG_VERSION }}

- name: Replace tokens
uses: cschleiden/[email protected]
with:
files: ${{ env.APP_CONFIG_FILE }}
env:
WFPREV_BASE_URL: ${{ vars.WFPREV_BASE_URL }}
WEBADE_OAUTH2_CHECK_AUTHORIZE_URL: ${{ vars.WEBADE_OAUTH2_CHECK_AUTHORIZE_URL }}
WFPREV_CHECK_TOKEN_URL: ${{ vars.WFPREV_CHECK_TOKEN_URL }}

- name: Set up Node.js
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 9b7b7ba

Please sign in to comment.