Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 982 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 982 Bytes

GitHub Actions PHP for Slack notification

Appearance on Slack :

Slack message

This GitHub action code is available on github ,check it out : https://github.com/svikramjeet/git-actions.


Usage

New YML synthax

- 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

Environment variables

  • USERNAME : From name in slack message
  • CHANNEL Message to be sent to channel of the webhook.the args of this Action.
  • MESSAGE : Custom MESSAGE

Secrets


That's all ❤️