From b7268d0c47f1bd4da043f30d9efc7fb9fa6edce3 Mon Sep 17 00:00:00 2001 From: devops Date: Thu, 15 Oct 2026 06:39:55 +0000 Subject: [PATCH] fix(support-chat): do not overwrite synced key with empty CI secret --- scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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