Wire up notifications for failures

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

View File

@ -6,3 +6,20 @@ steps:
image: golang:1.16 image: golang:1.16
commands: commands:
- make build - 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