测试打包通知2

Test_HIR_Net8
hang 2026-02-05 13:12:42 +08:00
parent 5cab834978
commit e2d19c5738
1 changed files with 22 additions and 20 deletions

View File

@ -23,7 +23,7 @@ steps:
- name: notify-wecom
commands:
- |
STATUS=$DRONE_BUILD_STATUS
STATUS="$DRONE_BUILD_STATUS"
if [ "$STATUS" = "success" ]; then
MSG="🟢 Test_HIR 发布成功"
@ -33,9 +33,9 @@ steps:
COLOR="warning"
fi
curl -X POST "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=cdd97aab-d256-4f07-9145-a0a2b1555322" \
curl -s -X POST "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=cdd97aab-d256-4f07-9145-a0a2b1555322" \
-H "Content-Type: application/json" \
-d @- <<EOF
--data-binary @- <<EOF
{
"msgtype": "markdown",
"markdown": {
@ -48,7 +48,9 @@ steps:
}
EOF
when:
status: [ success, failure ]
status:
- success
- failure
trigger:
branch: