Seperate notification

This commit is contained in:
Magnus Walbeck 2020-07-11 13:16:26 +02:00
parent 316bcb990e
commit 61b11239a9
Signed by: mwalbeck
GPG key ID: CCB78CFF3F950769

View file

@ -35,17 +35,6 @@ steps:
repo: docker.internal.walbeck.it/walbeck-it/alerta
registry: docker.internal.walbeck.it
- name: notify
image: plugins/matrix
settings:
homeserver: https://matrix.mwalbeck.org
roomid:
from_secret: matrix_roomid
username:
from_secret: matrix_username
password:
from_secret: matrix_password
trigger:
branch:
- master
@ -68,3 +57,24 @@ steps:
trigger:
event:
- pull_request
---
kind: pipeline
name: notify
steps:
- name: notify
image: plugins/matrix
settings:
homeserver: https://matrix.mwalbeck.org
roomid:
from_secret: matrix_roomid
username:
from_secret: matrix_username
password:
from_secret: matrix_password
trigger:
status:
- success
- failure