diff --git a/.drone.yml b/.drone.yml index 6601f0c..8fc4533 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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]