Skip to content

Commit

Permalink
Don't use f-strings because latest node image doesn't have a python t…
Browse files Browse the repository at this point in the history
…hat supports them. (#960)
  • Loading branch information
bhearsum committed Jul 15, 2019
1 parent 94568a8 commit 9387f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-ui/scripts/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export AWS_ACCESS_KEY_ID=$(curl ${AWS_CREDENTIALS_SECRET} | python3 -c 'import j
export AWS_SECRET_ACCESS_KEY=$(curl ${AWS_CREDENTIALS_SECRET} | python3 -c 'import json, sys; a = json.load(sys.stdin); print(a["aws_secret_key"])')

# Grab app config and convert it to shell format
curl "${APP_CONFIG_SECRET}" | python3 -c 'import json, sys; a = json.load(sys.stdin); [print(f"{k}={v}") for k,v in a.items()]' > .env
curl "${APP_CONFIG_SECRET}" | python3 -c 'import json, sys; a = json.load(sys.stdin); [print("{}={}".format(k, v)) for k,v in a.items()]' > .env

yarn build

Expand Down

0 comments on commit 9387f60

Please sign in to comment.