From e33af1450bfeaa37c907c7cfe9f1d678c3dc46b3 Mon Sep 17 00:00:00 2001 From: shanshanzhong Date: Tue, 2 Jun 2026 21:26:49 -0700 Subject: [PATCH] Do not fail deploy on Telegram notification errors --- .github/workflows/deploy-staging.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 1618088..e3d26f2 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -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."