forked from Gitlink/build
feat: .devops/钉钉通知.yml
This commit is contained in:
parent
58ebb94997
commit
737bdae436
|
@ -0,0 +1,39 @@
|
||||||
|
version: 2
|
||||||
|
name: 钉钉通知
|
||||||
|
description: ""
|
||||||
|
global:
|
||||||
|
concurrent: 1
|
||||||
|
trigger:
|
||||||
|
webhook: gitlink@1.0.0
|
||||||
|
event:
|
||||||
|
- ref: push
|
||||||
|
ruleset:
|
||||||
|
- param-ref: branch
|
||||||
|
operator: EQ
|
||||||
|
value: '"master"'
|
||||||
|
- param-ref: pusher
|
||||||
|
operator: EQ
|
||||||
|
value: '"maxjhandsome"'
|
||||||
|
ruleset-operator: OR
|
||||||
|
workflow:
|
||||||
|
- ref: start
|
||||||
|
name: 开始
|
||||||
|
task: start
|
||||||
|
- ref: dingtalk_notice_markdown_0
|
||||||
|
name: 钉钉通知-markdown
|
||||||
|
task: dingtalk_notice_markdown@1.0.2
|
||||||
|
input:
|
||||||
|
boot_webhook_url: ((maxjhandsome.dingding))
|
||||||
|
secret: ((maxjhandsome.dingding))
|
||||||
|
msg_title: '"您有代码推送"'
|
||||||
|
msg_text: '"您有代码推送"'
|
||||||
|
at_user_ids: '"[]"'
|
||||||
|
at_mobiles: '"[]"'
|
||||||
|
needs:
|
||||||
|
- start
|
||||||
|
- ref: end
|
||||||
|
name: 结束
|
||||||
|
task: end
|
||||||
|
needs:
|
||||||
|
- dingtalk_notice_markdown_0
|
||||||
|
|
Loading…
Reference in New Issue