We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5dc289a + 9c58c07 commit 90c6a1bCopy full SHA for 90c6a1b
entrypoint.sh
@@ -14,8 +14,8 @@ error() {
14
15
# Try JSON file
16
if [[ -f $SECRETS_JSON ]]; then
17
- [[ -z $VTEX_APP_KEY ]] && VTEX_APP_KEY=$(jq .vtex.apiKey SECRETS_JSON)
18
- [[ -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)
19
fi
20
21
# Test to see if we can login
0 commit comments