Skip to content

Commit

Permalink
fix: 🐛 drop quotes from json
Browse files Browse the repository at this point in the history
  • Loading branch information
thyarles committed Sep 17, 2022
1 parent 939149d commit 9c58c07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ error() {

# Try JSON file
if [[ -f $SECRETS_JSON ]]; then
[[ -z $VTEX_APP_KEY ]] && VTEX_APP_KEY=$(jq .vtex.apiKey SECRETS_JSON)
[[ -z $VTEX_APP_TOKEN ]] && VTEX_APP_TOKEN=$(jq .vtex.apiToken SECRETS_JSON)
[[ -z $VTEX_APP_KEY ]] && VTEX_APP_KEY=$(jq -r .vtex.apiKey $SECRETS_JSON)
[[ -z $VTEX_APP_TOKEN ]] && VTEX_APP_TOKEN=$(jq -r .vtex.apiToken $SECRETS_JSON)
fi

# Test to see if we can login
Expand Down

0 comments on commit 9c58c07

Please sign in to comment.