diff --git a/.drone.yml b/.drone.yml index 0874f9a..e159831 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,12 +36,10 @@ steps: agent_id: from_secret: wechat_agent_id title: "${DRONE_REPO_NAME} ⚠️" - description: " - Build number: ${DRONE_BUILD_NUMBER}\n - Build result: Failed\n - Author: ${DRONE_COMMIT_AUTHOR}\n - Build url: ${DRONE_BUILD_LINK} - " + description: | + "Warning: Build number ${DRONE_BUILD_NUMBER} FAILED. + ${DRONE_COMMIT_AUTHOR} please fix it, for more detail + visit ${DRONE_BUILD_LINK}" msg_url: ${DRONE_BUILD_LINK} btn_txt: btn when: @@ -60,8 +58,7 @@ steps: agent_id: from_secret: wechat_agent_id title: "${DRONE_REPO_NAME} ✅" - description: "Build Number: ${DRONE_BUILD_NUMBER} success! \n - ${DRONE_COMMIT_AUTHOR} CI pass!" + description: "Build Number: ${DRONE_BUILD_NUMBER} success! ${DRONE_COMMIT_AUTHOR} CI pass!" msg_url: ${DRONE_BUILD_LINK} btn_txt: btn when: