Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck committed Nov 9, 2023
1 parent cedc998 commit 0d86cf5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ runs:
run: npm ci
working-directory: ${{ inputs.working_directory }}

- run:
name: Replace Auth0 test credentials
env:
AUTH0_CFG: ${{ inputs.working_directory }}/auth_config.json
AUTH0_EXAMPLE_CFG: ${{ inputs.working_directory }}/auth_config.json.example
command: |
sed \
-e "s/{DOMAIN}/$AUTH0_TEST_DOMAIN/g" \
-e "s/{CLIENT_ID}/$AUTH0_TEST_CLIENT_ID/g" \
-e "s/{API_IDENTIFIER}/$AUTH0_TEST_API_IDENTIFIER/g" \
$AUTH0_EXAMPLE_CFG > $AUTH0_CFG
- name: Build
shell: bash
run: npm run build
Expand Down

0 comments on commit 0d86cf5

Please sign in to comment.