chore(drone): update build notification message format
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ching L 2025-09-11 17:11:51 +08:00
parent 499dc9dc13
commit 2430a74f08

View File

@ -61,11 +61,10 @@ steps:
$(if [ "${DRONE_BUILD_STATUS}" = "success" ]; then echo "#48f442"; else echo "#ff4f42"; fi)
message:
- |
${DRONE_REPO} 构建通知
Commit: $(echo "${DRONE_COMMIT_MESSAGE}" | head -n1)
${DRONE_REPO}
Commit: ${DRONE_COMMIT_MESSAGE%%$'\n'*}
Branch: ${DRONE_COMMIT_BRANCH}
状态: ${DRONE_BUILD_STATUS}
链接: ${DRONE_BUILD_LINK}
Link: ${DRONE_BUILD_LINK}
when:
status: [success, failure]