From 16f947bf2df4fc50512eaff40ae035620254cbf3 Mon Sep 17 00:00:00 2001 From: Simon Beck Date: Tue, 8 Feb 2022 20:27:51 +0100 Subject: [PATCH] Also add notifications --- .drone.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.drone.yml b/.drone.yml index 736f6f0..00d1e19 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,6 +19,23 @@ steps: commands: - 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 hmac: ff246a04c3df8a2f39c8b446dea920622d61950e6caaac886931bdb05d0706ed