From c6e6001ba9ca0fda0f37c3ef79157691117d10ec Mon Sep 17 00:00:00 2001 From: Ruan Bekker Date: Mon, 26 Jul 2021 00:22:46 +0200 Subject: [PATCH] Update .drone.yml --- .drone.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.drone.yml b/.drone.yml index cc2c117..ea99495 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,3 +8,23 @@ steps: image: busybox commands: - echo hi + +- name: gotify + image: fredix/drone-gotify + settings: + gotifytoken: + from_secret: plugin_gotifytoken + gotifyendpoint: + from_secret: plugin_gotifyendpoint + gotifytitle: + from_secret: plugin_gotifytitle + gotifypriority: + from_secret: plugin_gotifypriority + message: > + {{#success build.status}} + build {{build.number}} succeeded on {{repo.name}}. Good job {{build.author}} {{build.link}} + {{else}} + build {{build.number}} failed on {{repo.name}}. Fix me please {{build.author}} {{build.link}} + {{/success}} + when: + status: [ success, failure ]