Merge pull request 'WIP Try out third-party plugin for Matrix noticiations' (#103) from replace-drone-matrix-plugin into main

Reviewed-on: data.coop/website#103
This commit is contained in:
benjaoming 2023-12-16 22:19:17 +00:00
commit f11ece120b

View file

@ -63,11 +63,16 @@ steps:
- pull_request - pull_request
- name: notify - name: notify
image: plugins/matrix image: spotlightkid/drone-matrixchat-notify:latest
settings: settings:
homeserver: https://data.coop homeserver: https://data.coop
roomid: plKSghHbepWeUEtbHE:data.coop roomid: '!plKSghHbepWeUEtbHE:data.coop'
username: userid:
from_secret: matrix_username from_secret: matrix_username
password: password:
from_secret: matrix_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})