From 8d73dd3df57a174cb93f43cc46c7c2f0e6d99e37 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 26 Jan 2021 13:28:19 +0100 Subject: [PATCH] Setup notifications for failure --- .drone.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.drone.yml b/.drone.yml index b98c06f..a0461fb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,6 +19,18 @@ steps: compose: docker-compose.prod.yml deploy_key: from_secret: drone_ssh_swarm.autonomic.zone + + - 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: - master