Skip to content

svikramjeet/git-actions

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ❤️