-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
25 lines (25 loc) · 940 Bytes
/
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
name: Commit Deploy Slack
description: A GitHub Action to publish to Slack after a deployment
author: "Richard Harrah"
inputs:
dryRun:
description: "Should this be performed as a dry run?"
required: false
default: "false"
linkRoot:
description: "Root of link to repository"
required: false
default: "https://github.com"
message:
description: "Message to be additionally published to Slack"
required: false
default: ":rocket: A new [[@linkify(it.links.commitSha, 'version') /]] of [[@linkify(it.links.repository, it.repository) /]] has been deployed!"
slackWebhook:
description: "Slack webhook to which notifications will be sent."
required: true
additionalPlaceholders:
description: "Additional placeholders to make available for message use. Should be a multi-line string with keys separated from values by a =."
required: false
runs:
using: "node16"
main: "dist/index.js"