This plugin can be used to send notices into a Matrix room.
Example configuration:
pipeline:
notify:
image: ptman/drone-plugin-matrix
homeserver: https://matrix.org
roomid: '!abcdefghijklmnopqrstuvwxyz:matrix.org'
secrets:
- matrix_username
- matrix_password
Secret Reference
- matrix_username
- Username on homeserver
- matrix_password
- Password on homeserver (use with username)
- matrix_userid
- Matrix userID (@user:homeserver.tld)
- matrix_accesstoken
- Matrix access token (use with userid)
Parameter Reference
- homeserver
- Matrix homeserver URL. Defaults to https://matrix.org
- roomid
- Matrix room ID (not alias, but ID starting with ‘!’)
- message
- Override default message
- username
- Username on homeserver
- password
- Password on homeserver (use with username)
- userid
- Matrix userID (@user:homeserver.tld)
- accesstoken
- Matrix access token (use with userid)
template: 这个网页有没有错误? 请让我们知道 或编辑 这个页面。 :2:157: executing “这个网页有没有错误?\n请让我们知道 或编辑 这个页面。\n” at <.Path>: can’t evaluate field Path in type source.File