feat(Drone): Add Matrix notification

This commit is contained in:
Simon 2023-01-16 12:28:30 +01:00
parent 7aaa963174
commit bf487a4630
1 changed files with 11 additions and 0 deletions

View File

@ -68,6 +68,17 @@ steps:
commands: commands:
- hugo deploy --environment production - hugo deploy --environment production
- name: notify
image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f
settings:
homeserver: https://converser.eu
roomid: "QwOITmkKxRJJyCSDOZ:converser.eu"
userid: "resilien:converser.eu"
accesstoken:
from_secret: MATRIX_ACCESSTOKEN
when:
status: [ failure ]
trigger: trigger:
event: event:
- push - push