mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
parent
aee0f65b26
commit
db99d4fef1
5 changed files with 2 additions and 15 deletions
|
@ -1,4 +0,0 @@
|
|||
ZED_ENVIRONMENT=nightly
|
||||
RUST_LOG=info
|
||||
INVITE_LINK_PREFIX=https://zed.dev/invites/
|
||||
DATABASE_MAX_CONNECTIONS=10
|
|
@ -1,4 +0,0 @@
|
|||
ZED_ENVIRONMENT=preview
|
||||
RUST_LOG=info
|
||||
INVITE_LINK_PREFIX=https://zed.dev/invites/
|
||||
DATABASE_MAX_CONNECTIONS=10
|
|
@ -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…
Reference in a new issue