From e82dcb95ed3f178d49db26f4ebd3a1066238f66a Mon Sep 17 00:00:00 2001 From: benjaoming Date: Sat, 21 Oct 2023 10:42:43 +0000 Subject: [PATCH 1/2] Try out third-party plugin for Matrix noticiations --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index aac4cfd0..bd383739 100644 --- a/.drone.yml +++ b/.drone.yml @@ -63,7 +63,7 @@ steps: - pull_request - name: notify - image: plugins/matrix + image: spotlightkid/drone-matrixchat-notify:latest settings: homeserver: https://data.coop roomid: plKSghHbepWeUEtbHE:data.coop From 9c15dfa2189710c2ddbd16039bde1af5e240bf5f Mon Sep 17 00:00:00 2001 From: benjaoming Date: Sat, 21 Oct 2023 10:50:13 +0000 Subject: [PATCH 2/2] Update with settings for the plugin --- .drone.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index bd383739..8585ffe8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -66,8 +66,13 @@ steps: image: spotlightkid/drone-matrixchat-notify:latest settings: homeserver: https://data.coop - roomid: plKSghHbepWeUEtbHE:data.coop - username: + roomid: '!plKSghHbepWeUEtbHE:data.coop' + userid: from_secret: matrix_username password: from_secret: matrix_password + markdown: 'yes' + template: | + `${DRONE_REPO}` build #${DRONE_BUILD_NUMBER} status: **${DRONE_BUILD_STATUS}** + + ${DRONE_PULL_REQUEST_TITLE}](${DRONE_COMMIT_LINK}) \ No newline at end of file