ci: 增强 Telegram 通知消息格式并添加详细构建链路信息
continuous-integration/drone/push Build is passing

This commit is contained in:
seahi committed 2026-08-07 14:26:15 +08:00
1 parent 5e017fb4fa
commit 874d8d2e6e
1 file changed
+10 -4
+10 -4
View File
@@ -38,12 +38,14 @@ steps:
to:
from_secret: TELEGRAM_CHAT_ID
format: html
message: >
message: |
🎉 <b>BlogFlare 自动化部署成功!</b>
📦 <b>提交变动说明:</b>
<code>{{ commit.message }}</code>
🔗 <b>构建详情:</b> <a href="{{ build.link }}">查看 Drone 运行记录</a>
🚀 全套改动现已全网完成发布部署!
when:
status:
@@ -57,13 +59,17 @@ steps:
to:
from_secret: TELEGRAM_CHAT_ID
format: html
message: >
message: |
❌ <b>BlogFlare 构建与发布遭遇失败中断!</b>
📦 <b>本次尝试的修改:</b>
📦 <b>提交变动说明:</b>
<code>{{ commit.message }}</code>
⚠️ 该步骤未获完全通过,已退离作业;请立刻返回仓库操作屏复对完整运行记录,扫清排查代码层或通讯网络上的潜在卡塞问题。
💥 <b>失败步骤:</b> <code>{{ build.failed_step }}</code>
👤 <b>提交作者:</b> {{ commit.author }}
🔗 <b>详细报错日志:</b> <a href="{{ build.link }}">点击直达 Drone 报错现场记录</a>
⚠️ 请立刻点击上述日志链接查看完整运行记录,扫清排查代码层或通讯网络上的潜在卡塞问题。
when:
status:
- failure