diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 81ba4bf2..bbf98f76 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -81,7 +81,7 @@ if [ -r "$BOT_ENV" ]; then fi unset BOT_KEY fi -if [ "${SUPPORT_CHAT_KEY+x}" = x ]; then +if [ -n "${SUPPORT_CHAT_KEY:-}" ]; then touch .support-chat.env grep -v '^SUPPORT_CHAT_KEY=' .support-chat.env > .support-chat.env.tmp || true printf "SUPPORT_CHAT_KEY=%sn" "$SUPPORT_CHAT_KEY" >> .support-chat.env.tmp