Update wget part to use authorization header instead

This commit is contained in:
Andrei Jiroh Halili 2022-04-21 15:01:44 +00:00
parent 30bff725c1
commit 256aeef90b
1 changed files with 2 additions and 1 deletions

View File

@ -11,5 +11,6 @@ default:
- echo WORKSPACE_PATH$PWD | tee ~/.librc >> /dev/null
- echo CREATED_AT=1650520343 | tee -a ~/.librc >> /dev/null
- echo $STDLIBRC | base64 -d | tee -a ~/.librc >> /dev/null
- wget "$ENV_JSON_FILE?token=$SNIPPET_BYPASS_TOKEN" -O ./env.json
- |
wget --header="Authorization: bearer $$SNIPPET_BYPASS_TOKEN" $ENV_JSON_FILE" -O ./env.json
- npm i