The WeChat for Work Robot notifications for Drone plugin. You can reference the doc to know how to use it.
> $ sh build.sh
- name: notify
image: akayj/drone-wechat-robot
settings:
key:
from_secret: wechat_robot_key
msgtype: markdown.template
template_name: default # `default` 是默认值
when:
status:
- success
- failure
简单模式(simple):
默认模式(default):
- name: notify
image: akayj/drone-wechat-robot
settings:
key:
from_secret: wechat_robot_key
msgtype: markdown.template
content: "Build status: {{ .Build.Status }}" # 参考 `metadata.go`
when:
status:
- success
- failure
结果: Build status: success