Feat: publish tag on Matrix
This commit is contained in:
parent
812d392720
commit
406b89fea1
33
.drone.yml
33
.drone.yml
@ -24,11 +24,15 @@ steps:
|
|||||||
|
|
||||||
- name: Notify on matrix
|
- name: Notify on matrix
|
||||||
image: plugins/matrix
|
image: plugins/matrix
|
||||||
|
environment:
|
||||||
|
MATRIX_ROOMID:
|
||||||
|
from_secret: MATRIX_ROOMID
|
||||||
|
MATRIX_ACCESSTOKEN:
|
||||||
|
from_secret: MATRIX_ACCESSTOKEN
|
||||||
|
MATRIX_USERID:
|
||||||
|
from_secret: MATRIX_USERID
|
||||||
settings:
|
settings:
|
||||||
homeserver: https://matrix.poneyworld.net
|
homeserver: https://matrix.poneyworld.net
|
||||||
roomid: SUvowRWvgvpcxdkZo:matrix.poneyworld.net
|
|
||||||
username: $MATRIX_USER
|
|
||||||
password: $MATRIX_PASS
|
|
||||||
template: "Une nouvelle version (${DRONE_TAG}) de pdf-oralia est publiée!"
|
template: "Une nouvelle version (${DRONE_TAG}) de pdf-oralia est publiée!"
|
||||||
|
|
||||||
when:
|
when:
|
||||||
@ -41,26 +45,3 @@ trigger:
|
|||||||
event:
|
event:
|
||||||
include:
|
include:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: push-test
|
|
||||||
type: docker
|
|
||||||
|
|
||||||
# Étapes de la pipeline
|
|
||||||
steps:
|
|
||||||
- name: Notify on matrix
|
|
||||||
image: plugins/matrix
|
|
||||||
environment:
|
|
||||||
MATRIX_ROOMID:
|
|
||||||
from_secret: MATRIX_ROOMID
|
|
||||||
MATRIX_ACCESSTOKEN:
|
|
||||||
from_secret: MATRIX_ACCESSTOKEN
|
|
||||||
MATRIX_USERID:
|
|
||||||
from_secret: MATRIX_USERID
|
|
||||||
settings:
|
|
||||||
homeserver: https://matrix.poneyworld.net
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
Loading…
Reference in New Issue
Block a user