Matrix

by Paul Tötterman

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)