diff --git a/.drone.yml b/.drone.yml index 44a59c1..01ad08c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -61,4 +61,18 @@ steps: # galaxy: requirements.yml # when: # event: -# - pull_request \ No newline at end of file +# - pull_request + +- name: matrix-pr + image: spotlightkid/drone-matrixchat-notify + settings: + homeserver: 'https://matrix.skunklab.ch' + roomid: '!FDAJGGDdLHWcwTOhsU:skunklab.ch' + userid: '@rulrich:skunklab.ch' + accesstoken: + from_secret: drone_matrix_accesstoken + 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