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