Update deploy.yml

This commit is contained in:
Vaica committed 2026-06-24 23:18:25 +08:00
1 parent bef001a7dc
commit 6ad420418e
1 file changed
+3 -2
+3 -2
View File
@@ -452,16 +452,17 @@ jobs:
-d parse_mode="Markdown"
- name: Send Feishu notification
if: secrets.FEISHU_WEBHOOK_URL
if: ${{ secrets.FEISHU_WEBHOOK_URL != '' }}
env:
FEISHU_WEBHOOK_URL: ${{ secrets.FEISHU_WEBHOOK_URL }}
run: |
CURRENT_TIME=$(date +'%Y-%m-%d %H:%M:%S')
curl -s -X POST "${FEISHU_WEBHOOK_URL}" \
-H "Content-Type: application/json" \
-d '{
"msg_type": "text",
"content": {
"text": "✅ **部署成功**\n\n📦 项目: ${{ github.repository }}\n🌿 分支: ${{ github.ref_name }}\n🔗 Commit: ${{ github.sha }}\n🕐 时间: '$(date +'%Y-%m-%d %H:%M:%S')'\n\n📊 部署目标:\n- EdgeOne Pages ✓\n- UpYun ✓\n- CDN 刷新 ✓"
"text": "✅ **部署成功**\n\n📦 项目: ${{ github.repository }}\n🌿 分支: ${{ github.ref_name }}\n🔗 Commit: ${{ github.sha }}\n🕐 时间: '"${CURRENT_TIME}"'\n\n📊 部署目标:\n- EdgeOne Pages ✓\n- UpYun ✓\n- CDN 刷新 ✓"
}
}'