Skip to content

Commit 76a726b

Browse files
author
Hideaki Matsunami
committed
chore: Update the description of SLACK_COLOR
Message attachments `color` field supports `good`,`warning`,`danger` and hex color code. ref: https://api.slack.com/reference/messaging/attachments#fields
1 parent 12e36fc commit 76a726b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You can see the action block with all variables as below:
6262
uses: rtCamp/action-slack-notify@v2
6363
env:
6464
SLACK_CHANNEL: general
65-
SLACK_COLOR: ${{ job.status }} # or a specific color like 'green' or '#ff00ff'
65+
SLACK_COLOR: ${{ job.status }} # or a specific color like 'good' or '#ff00ff'
6666
SLACK_ICON: https://github.com/rtCamp.png?size=48
6767
SLACK_MESSAGE: 'Post Content :rocket:'
6868
SLACK_TITLE: Post Title

0 commit comments

Comments
 (0)