We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a08497 commit 0dc42e4Copy full SHA for 0dc42e4
1 file changed
.drone.yml
@@ -64,6 +64,25 @@ steps:
64
- master
65
- "*-stable"
66
67
+ - name: Slack Notify
68
+ image: plugins/slack
69
+ settings:
70
+ webhook:
71
+ from_secret: slack_webhook
72
+ channel:
73
+ from_secret: slack_webhook_channel
74
+ template: >
75
+ *{{uppercasefirst repo.name}}*
76
+ {{#success build.status}}
77
+ [SUCCESS] Branch {{ build.branch }} by {{ build.author }}. Good job.
78
+ {{else}}
79
+ [FAILURE] Branch {{ build.branch }} by {{ build.author }}. Fix me please.
80
+ {{/success}}
81
+ when:
82
+ branch:
83
+ - master
84
+ - "*-stable"
85
+
86
trigger:
87
event:
88
- push
0 commit comments