diff --git a/scripts/deploy_preview.sh b/scripts/deploy_preview.sh index d807fca48c..31cafef1bb 100755 --- a/scripts/deploy_preview.sh +++ b/scripts/deploy_preview.sh @@ -1,27 +1,30 @@ #!/bin/bash # Params are in environment variables as PARAM_{SLUG}, e.g. PARAM_USER_ID -edition=ce +set -euo pipefail -# Configure the AWS & kubectl environment +edition="ce" -mkdir ~/.aws; touch ~/.aws/config +# Configure AWS CLI and kubectl environment +mkdir -p ~/.aws +cat > ~/.aws/config <