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

Loading…
Cancel
Save