Appearance on Slack :
This GitHub action code is available on github ,check it out : https://github.com/svikramjeet/git-actions.
- name: Slack notification
env:
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
MESSAGE: 'Custom message'.
USERNAME: ThisIsMyUsername # Optional.
CHANNEL: general - Slack channel # Optional.
ICON: ${{ secrets.ICON }}
uses: svikramjeet/git-actions@master
USERNAME
: From name in slack messageCHANNEL
Message to be sent to channel of the webhook.the args of this Action.MESSAGE
: Custom MESSAGE
WEBHOOK_URL
: the Slack webhook URL (required, see https://api.slack.com/incoming-webhooks).ICON
: ICON to be displayed in slack message.
That's all ❤️