Do not fail deploy on Telegram notification errors

This commit is contained in:
2026-06-02 21:26:49 -07:00
parent e567821e07
commit e33af1450b
+2 -2
View File
@@ -219,7 +219,7 @@ jobs:
curl -fsS -X POST "https://api.telegram.org/bot${TG_BOT_TOKEN}/sendMessage" \
--data-urlencode "chat_id=${TG_CHAT_ID}" \
--data-urlencode "text=${MESSAGE}"
--data-urlencode "text=${MESSAGE}" || echo "Telegram notification failed; deployment result is unchanged."
- name: Notify Telegram on failure
if: failure()
@@ -247,4 +247,4 @@ jobs:
curl -fsS -X POST "https://api.telegram.org/bot${TG_BOT_TOKEN}/sendMessage" \
--data-urlencode "chat_id=${TG_CHAT_ID}" \
--data-urlencode "text=${MESSAGE}"
--data-urlencode "text=${MESSAGE}" || echo "Telegram notification failed; workflow failure was already recorded."