fix(ci): preserve newline in support key env
Deploy Canina / deploy (push) Failing after 5s

This commit is contained in:
devops committed 2026-10-15 06:40:06 +00:00
1 parent b7268d0c47
commit c6cf2e31aa
1 file changed
+1 -1
+1 -1
View File
@@ -84,7 +84,7 @@ fi
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
printf "SUPPORT_CHAT_KEY=%s\\n" "$SUPPORT_CHAT_KEY" >> .support-chat.env.tmp
mv .support-chat.env.tmp .support-chat.env
chmod 600 .support-chat.env
fi