Correct errors in upload / deploy scripts

This commit is contained in:
Andrew Miner
2016-04-05 18:30:21 -07:00
parent 2f6af50d4b
commit 8bb25cd09a
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ ENVIRONMENT=""
while [[ "$1" != "" ]]; do
case "$1" in
"--staging") ENVIRONMENT="staging";;
"--prod") ENVIRONMENT="prod";;
"--prod") ENVIRONMENT="production";;
*) die "Please specify environment: --staging or --prod";;
esac
shift
+5
View File
@@ -1,5 +1,10 @@
#!/bin/bash
function die {
echo $*
exit 1
}
if [[ -e "./aws.config" ]]; then
export AWS_CONFIG_FILE="./aws.config"
else