forked from Deuxfleurs/bottin
Also add notifications
This commit is contained in:
parent
4cb8c860c9
commit
16f947bf2d
1 changed files with 17 additions and 0 deletions
17
.drone.yml
17
.drone.yml
|
@ -19,6 +19,23 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- ash test/runner.sh
|
- ash test/runner.sh
|
||||||
|
|
||||||
|
- name: notify
|
||||||
|
image: plugins/slack
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
settings:
|
||||||
|
channel: Drone
|
||||||
|
webhook: https://webhooks.earthnet.ch/api/v1/matrix/hook/ruNHRBPLDviP3HZGwNbk0HTLaAon4oD16xWeAL2Ul3wKkTBwvoKpoHNxHNU4ObK5
|
||||||
|
template: >
|
||||||
|
Build {{ repo.name }}
|
||||||
|
{{#success build.status}}
|
||||||
|
{{build.number}} succeeded. Good job.
|
||||||
|
{{else}}
|
||||||
|
{{build.number}} failed. Fix me please.
|
||||||
|
{{/success}}
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: ff246a04c3df8a2f39c8b446dea920622d61950e6caaac886931bdb05d0706ed
|
hmac: ff246a04c3df8a2f39c8b446dea920622d61950e6caaac886931bdb05d0706ed
|
||||||
|
|
Loading…
Reference in a new issue