取消
continuous-integration/drone/push Build is failing Details

main
rustdreamer 3 years ago
parent 5f29301d07
commit e4cf0d48ac

@ -95,25 +95,25 @@ steps:
event: [push, pull_request]
branch: [development]
- name: notify
image: fifsky/drone-wechat-work
pull: if-not-exists
# pull: always
settings:
url: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=4166884e-9d7b-4e7a-a1c8-80d71d4755ba
msgtype: markdown
content: |
{{if eq .Status "success" }}
#### 🎉 ${DRONE_REPO} 构建成功
> Commit: ${DRONE_COMMIT_MESSAGE}
> Author: ${DRONE_COMMIT_AUTHOR}
{{else}}
#### ❌ ${DRONE_REPO} 构建失败
> Commit: ${DRONE_COMMIT_MESSAGE}
> Author: ${DRONE_COMMIT_AUTHOR}
> 请立即修复!!!
{{end}}
when:
status:
- failure
- success
# - name: notify
# image: fifsky/drone-wechat-work
# pull: if-not-exists
# # pull: always
# settings:
# url: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=4166884e-9d7b-4e7a-a1c8-80d71d4755ba
# msgtype: markdown
# content: |
# {{if eq .Status "success" }}
# #### 🎉 ${DRONE_REPO} 构建成功
# > Commit: ${DRONE_COMMIT_MESSAGE}
# > Author: ${DRONE_COMMIT_AUTHOR}
# {{else}}
# #### ❌ ${DRONE_REPO} 构建失败
# > Commit: ${DRONE_COMMIT_MESSAGE}
# > Author: ${DRONE_COMMIT_AUTHOR}
# > 请立即修复!!!
# {{end}}
# when:
# status:
# - failure
# - success

Loading…
Cancel
Save