From 7feeab24eccd0de549f9f89508fef05df80fcff2 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Fri, 29 Jan 2021 13:44:55 +0200 Subject: [PATCH] Add RocketChat notifications for failed builds --- .drone.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.drone.yml b/.drone.yml index 9d6baeb..84da7ef 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,6 +26,18 @@ steps: from_secret: codecov_token required: true + - name: notify rocket chat + image: plugins/slack + settings: + webhook: + from_secret: rc_builds_url + username: comradebritney + channel: "internal.builds" + template: "{{repo.owner}}/{{repo.name}} build failed: {{build.link}}" + when: + status: + - failure + trigger: branch: - main