Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,25 @@ steps:
- master
- "*-stable"

- name: Slack Notify
image: plugins/slack
settings:
webhook:
from_secret: slack_webhook
channel:
from_secret: slack_webhook_channel
template: >
*{{uppercasefirst repo.name}}*
{{#success build.status}}
[SUCCESS] Branch {{ build.branch }} by {{ build.author }}. Good job.
{{else}}
[FAILURE] Branch {{ build.branch }} by {{ build.author }}. Fix me please.
{{/success}}
when:
branch:
- master
- "*-stable"

trigger:
event:
- push
Expand Down