fix(support-chat): do not overwrite synced key with empty CI secret
Deploy Canina / deploy (push) Failing after 5s

This commit is contained in:
devops committed 2026-10-15 06:39:55 +00:00
1 parent a7b7164fc0
commit b7268d0c47
1 file changed
+1 -1
+1 -1
View File
@@ -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