Seperate notification
This commit is contained in:
parent
316bcb990e
commit
61b11239a9
1 changed files with 21 additions and 11 deletions
32
.drone.yml
32
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue