mirror of
https://github.com/jadolg/rocketchat-notification-action.git
synced 2026-05-31 08:37:51 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b1c8b450a3 |
+27
-4
@@ -1,9 +1,32 @@
|
||||
# action.yml
|
||||
name: 'Rocket.Chat Notification'
|
||||
description: 'Send a message to Rocket.Chat'
|
||||
outputs:
|
||||
response_code:
|
||||
description: 'The response code for the http call'
|
||||
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 }}
|
||||
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env sh
|
||||
echo "something going on here"
|
||||
#!/usr/bin/env bash
|
||||
echo $1 $2 $3 $4 $5
|
||||
|
||||
Reference in New Issue
Block a user