From 85ff67ff1c2e0d02ebad707e09640b1b25c5b04d Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 7 Apr 2021 16:41:48 +0200 Subject: [PATCH] Switch telegram notifications to matrix --- .drone.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index a70e95ae..aad7f66e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -506,22 +506,24 @@ trigger: - "refs/tags/**" depends_on: + - build - release-version - release-latest + - trigger-desktop-update + - docker-arm-release + - docker-amd64-release - docker-manifest steps: - - name: telegram - image: appleboy/drone-telegram:1-linux-amd64 + - name: notify + image: plugins/matrix settings: - token: - from_secret: TELEGRAM_TOKEN - to: - from_secret: TELEGRAM_TO - message: > - {{repo.owner}}/{{repo.name}}: \[{{build.status}}] Build {{build.number}} - {{commit.author}} pushed to {{commit.branch}} {{commit.sha}}: `{{commit.message}}` - Build started at {{datetime build.started "2006-Jan-02T15:04:05Z" "GMT+2"}} finished at {{datetime build.finished "2006-Jan-02T15:04:05Z" "GMT+2"}}. + homeserver: https://matrix.org + roomid: WqBDCxzghKcNflkErL:matrix.org + username: + from_secret: matrix_username + password: + from_secret: matrix_password when: status: - success