Update main.yml

This commit is contained in:
chf007 2019-09-11 10:25:02 +08:00 committed by GitHub
parent ab7bb5d98f
commit fcc3b78bbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,12 @@
workflow "Send notification on push" {
on = "push"
resolves = [
"Dingtalk notification",
"WeChat Work notification",
]
}
action "Dingtalk notification" {
uses = "cooperwu/action-dingtalk@master"
secrets = ["DINGTALK_WEBHOOK"]
args = "A new commit has been pushed to cooperwu/action-dingtalk."
action "WeChat Work notification" {
uses = "chf007/action-wechat-work@master"
secrets = ["WECHAT_WORK_WEBHOOK"]
args = "A new commit has been pushed to chf007/action-wechat-work."
}