-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
36 lines (36 loc) · 1.17 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Notify Slack on Build
description: A GitHub Action to notify a Slack channel on a successful project build
author: Ryan Murphy
inputs:
slack-token:
description: The Slack token for authenticating your bot account
required: true
channel-name:
description: The name of the channel to notify (channel-id is preferred)
default: ""
required: false
channel-id:
description: The ID of the channel to notify
default: ""
required: false
status:
description: The status of the build
required: true
status-text:
description: Optional customized text describing the status
required: false
url:
description: The URL for accessing your deployed project
required: true
message-id:
description: An optional ID referring to a previously created message
default: ""
required: false
outputs:
message-id:
description: The ID that references the created or updated Slack message
channel-id:
description: The ID of the channel receiving the message - if channel-id is provided as an input this will be identical, otherwise it is the ID that was found based on channel-name
runs:
using: node16
main: dist/index.js