Wire up notifications for failures
This commit is contained in:
parent
0a6ffd48cb
commit
3b1dfb7562
17
.drone.yml
17
.drone.yml
@ -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
|
||||||
|
Reference in New Issue
Block a user