Skip to content

Commit

Permalink
chore: Update the description of SLACK_COLOR
Browse files Browse the repository at this point in the history
Message attachments `color` field supports `good`,`warning`,`danger` and hex color code.
ref: https://api.slack.com/reference/messaging/attachments#fields
  • Loading branch information
Hideaki Matsunami committed Jul 21, 2021
1 parent 12e36fc commit 76a726b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ You can see the action block with all variables as below:
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: general
SLACK_COLOR: ${{ job.status }} # or a specific color like 'green' or '#ff00ff'
SLACK_COLOR: ${{ job.status }} # or a specific color like 'good' or '#ff00ff'
SLACK_ICON: https://github.com/rtCamp.png?size=48
SLACK_MESSAGE: 'Post Content :rocket:'
SLACK_TITLE: Post Title
Expand Down

0 comments on commit 76a726b

Please sign in to comment.