Update deploy.yml

This commit is contained in:
Vaica committed 2026-06-24 23:16:19 +08:00
1 parent 07309978c0
commit df24f516b3
1 file changed
+9 -9
+9 -9
View File
@@ -215,17 +215,17 @@ jobs:
if [ -n "$TELEGRAM_BOT_TOKEN" ] && [ -n "$TELEGRAM_CHAT_ID" ]; then if [ -n "$TELEGRAM_BOT_TOKEN" ] && [ -n "$TELEGRAM_CHAT_ID" ]; then
MESSAGE="✅ **字体子集化完成** MESSAGE="✅ **字体子集化完成**
📦 项目: ${{ github.repository }} 📦 项目: ${{ github.repository }}
🌿 分支: ${{ github.ref_name }} 🌿 分支: ${{ github.ref_name }}
📊 优化统计: 📊 优化统计:
- 字符数: ${{ steps.stats.outputs.char_count }} - 字符数: ${{ steps.stats.outputs.char_count }}
- 原始大小: ${ORIGINAL_SIZE_KB} KB - 原始大小: ${ORIGINAL_SIZE_KB} KB
- 子集大小: ${SUBSET_SIZE_KB} KB - 子集大小: ${SUBSET_SIZE_KB} KB
- 节省空间: ${REDUCTION_KB} KB (${PERCENTAGE}%) - 节省空间: ${REDUCTION_KB} KB (${PERCENTAGE}%)
🌐 数据源: 🌐 数据源:
- 静态文件 + 本地JSON + 远程API" - 静态文件 + 本地JSON + 远程API"
curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" \ curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" \
-d chat_id="${TELEGRAM_CHAT_ID}" \ -d chat_id="${TELEGRAM_CHAT_ID}" \