SLACK_ICON_EMOJI randomly displayed
schmidtsonian opened this issue · 1 comments
schmidtsonian commented
I'm using custom emojis but for some reason they are not displayed every time
- name: Slack Notification (Success)
if: success()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: drone
SLACK_COLOR: ${{ job.status }}
SLACK_ICON_EMOJI: ':cicd_success_1:'
SLACK_USERNAME: <Add client/project name>
SLACK_WEBHOOK: ***
SLACK_FOOTER: <Add staging URL and/or storybook URL>
- name: Slack Notification (Failure)
if: failure()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: drone
SLACK_COLOR: ${{ job.status }}
SLACK_ICON_EMOJI: ':facepalm:'
SLACK_USERNAME: <Add client/project name>
SLACK_WEBHOOK: ***
SLACK_FOOTER: Sorry Mate
- name: Slack Notification (Cancelled)
if: cancelled()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: drone
SLACK_COLOR: ${{ job.status }}
SLACK_ICON_EMOJI: ':troll:'
SLACK_USERNAME: <Add client/project name>
SLACK_WEBHOOK: ***
SLACK_FOOTER: You shall not pass
mrrobot47 commented
When you send messages within a short duration of time, the slack profile image/emoji is not shown again.