refactor: .devops/master分支推送代码触发钉钉消息.yml

This commit is contained in:
floraachy 2023-07-10 14:02:12 +08:00 committed by jianmu
parent 3e48fc67e9
commit bafdc6e929
1 changed files with 12 additions and 10 deletions

View File

@ -16,18 +16,20 @@ workflow:
- ref: start
name: 开始
task: start
- ref: dingtalk_notice_feed_card_0
name: 钉钉通知-FeedCard
task: dingtalk_notice_feed_card@1.0.2
input:
boot_webhook_url: ((dingbot.webhook))
secret: ((dingbot.ding_secret))
links: "\"['测试消息']\""
needs:
- start
- ref: end
name: 结束
task: end
needs:
- dingtalk_notice_feed_card_0
- dingtalk_notice_text_0
- ref: dingtalk_notice_text_0
name: 钉钉通知-文本
task: dingtalk_notice_text@1.0.2
input:
boot_webhook_url: ((dingbot.webhook))
secret: ((dingbot.ding_secret))
msg_text: '"测试消息"'
at_user_ids: '"[]"'
at_mobiles: '"[]"'
needs:
- start