parent
aee0f65b26
commit
db99d4fef1
5 changed files with 2 additions and 15 deletions
|
@ -4,7 +4,7 @@ set -eu
|
|||
source script/lib/deploy-helpers.sh
|
||||
|
||||
if [[ $# < 2 ]]; then
|
||||
echo "Usage: $0 <production|preview|nightly|staging> <tag-name>"
|
||||
echo "Usage: $0 <production|staging> <tag-name>"
|
||||
exit 1
|
||||
fi
|
||||
environment=$1
|
||||
|
|
|
@ -9,11 +9,6 @@ if [[ $# < 1 ]]; then
|
|||
fi
|
||||
environment=$1
|
||||
|
||||
if [[ ${environment} == "preview" || ${environment} == "nightly" ]]; then
|
||||
echo "website does not exist in preview or nightly"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
export_vars_for_environment ${environment}
|
||||
|
||||
export ZED_DO_CERTIFICATE_ID=$(doctl compute certificate list --format ID --no-header)
|
||||
|
|
|
@ -4,7 +4,7 @@ set -eu
|
|||
source script/lib/deploy-helpers.sh
|
||||
|
||||
if [[ $# < 1 ]]; then
|
||||
echo "Usage: $0 <production|preview|nightly|staging>"
|
||||
echo "Usage: $0 <production|staging>"
|
||||
exit 1
|
||||
fi
|
||||
environment=$1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue