15 lines
547 B
YAML
15 lines
547 B
YAML
name: 'Slack Push'
|
|
description: 'Publish a message in a channel or send the github payload to workflow builder'
|
|
inputs:
|
|
channel-id: # channel id to post message when using bot token
|
|
description: 'Slack channel ID where message will be posted. Needed if using bot token'
|
|
required: false
|
|
slack-message: # message to post when using bot token
|
|
description: 'Message to post into Slack. Needed if using bot token'
|
|
required: false
|
|
outputs:
|
|
time: # id of output
|
|
description: 'The time'
|
|
runs:
|
|
using: 'node12'
|
|
main: 'index.js' |