From 406b89fea168d13feb316f2e8d4c2fbb46ff0763 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sat, 8 Jul 2023 09:08:09 +0200 Subject: [PATCH] Feat: publish tag on Matrix --- .drone.yml | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/.drone.yml b/.drone.yml index 73c6ea6..a5a85ac 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,11 +24,15 @@ 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 - roomid: SUvowRWvgvpcxdkZo:matrix.poneyworld.net - username: $MATRIX_USER - password: $MATRIX_PASS template: "Une nouvelle version (${DRONE_TAG}) de pdf-oralia est publiée!" when: @@ -41,26 +45,3 @@ trigger: event: include: - 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