Skip to content

Send a message to a Discord webhook.

License

Notifications You must be signed in to change notification settings

sebastianpopp/discord-action

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

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-action

Send a message to a Discord webhook. Follow this guide to create a webhook if you don't have one already.

Example usage

name: Deploy
on: push
jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
    - name: discord
      uses: sebastianpopp/discord-action@releases/v2
      with:
        webhook: ${{ secrets.DISCORD_WEBHOOK }}
        message: ${{ github.repository }} has been successfullly deployed.

Input parameters

Input parameter Description Required Default
webhook Discord webhook URL. Follow this guide to create a webhook if you don't have one already. Do not add /github or any other suffix. Yes N/A
message Message to be sent Yes N/A

About

Send a message to a Discord webhook.

Resources

License

Stars

Watchers

Forks

Packages

No packages published