mirror of
https://github.com/jadolg/rocketchat-notification-action.git
synced 2026-05-31 08:37:51 +00:00
33 lines
762 B
YAML
33 lines
762 B
YAML
name: 'Rocket.Chat Notification'
|
|
description: 'Send a message to Rocket.Chat'
|
|
inputs:
|
|
user:
|
|
description: 'The username to login'
|
|
required: true
|
|
default: ''
|
|
password:
|
|
description: 'The password to login'
|
|
required: true
|
|
default: ''
|
|
message:
|
|
description: 'The message you want to send'
|
|
required: true
|
|
default: ''
|
|
server:
|
|
description: 'Your rocket.chat server'
|
|
required: false
|
|
default: 'https://open.rocket.chat'
|
|
channel:
|
|
description: 'The channel you want to write to'
|
|
required: false
|
|
default: 'GENERAL'
|
|
runs:
|
|
using: 'docker'
|
|
image: 'Dockerfile'
|
|
args:
|
|
- ${{ inputs.user }}
|
|
- ${{ inputs.password }}
|
|
- ${{ inputs.message }}
|
|
- ${{ inputs.server }}
|
|
- ${{ inputs.channel }}
|