Wire up notifications for failures
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-07-15 22:29:31 +02:00
parent 0a6ffd48cb
commit 3b1dfb7562
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 17 additions and 0 deletions

View File

@ -6,3 +6,20 @@ steps:
image: golang:1.16
commands:
- make build
- name: notify on failure
image: plugins/matrix
settings:
homeserver: https://matrix.autonomic.zone
roomid: "IFazIpLtxiScqbHqoa:autonomic.zone"
userid: "@autono-bot:autonomic.zone"
accesstoken:
from_secret: autono_bot_access_token
depends_on:
- make build
when:
status:
- failure
trigger:
branch:
- main