Tristan Helmich 56f73bc02d Use vercel/ncc
`nc build index.js --license licenses.txt` compiles our code and all the
modules into a single file (`dist/index.js``). This has to be done and
the resulting files updated before any release.
2020-10-06 12:54:10 +00:00

26 lines
685 B
YAML

name: 'Matrix Chat Message'
description: 'Send a message to a Matrix channel'
branding:
icon: 'message-circle'
color: 'green'
inputs:
token:
description: 'Access token for the account to use'
required: true
homeserver:
description: 'Homeserver of the account to use'
required: true
default: 'https://matrix.org'
channel:
description: 'The internal room ID of the channel to send the message to'
required: true
message:
description: 'The message you want to send'
required: true
messagetype:
description: 'Type of Matrix message (e.g. `m.text` or `m.notice`)'
default: 'm.notice'
runs:
using: 'node12'
main: 'dist/index.js'