Skip to content

VXLStudios/vn-discord-webhook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Follow Follow me on DEV Support me on Buy Me a Coffee

Discord Webhook

This GitHub Action can produce fancy and more meaningful Discord messages for your commits.

Screenshots

The standard webhook from GitHub to Discord just dumps the commit messages right into your chat, this is fine but sometimes you just want some extra information. Did the commit introduce any new issues? Did it even compile successfully? That's what this Action is for.

Standard Webhook New and improved Webhook
Old webhook interface New webhook interface

⚙ Setup

Setup this code on your .github/workflows/ and name it want you want like discord-push.yml and push that.

name: Discord Webhook
on: [push]
jobs:
  Discord_notification:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout repository
      uses: actions/checkout@v1
    - name: VN Discord Webhook
      uses: VicariousNetwork/vn-discord-webhook@v1.1
      with:
        id: ${{ secrets.DISCORD_WEBHOOK_ID }}
        token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}

You can see the example file at /.github/workflows/discord-push.yml

Inputs

id token
Required — This is the id of your Discord webhook, if you copy the webhook url, this will be the first part of it. Required — Your Discord webhook token, it's the second part of the url.

❓ Need more help ? See this post on DEV

Badge forked from

About

This GitHub Action can produce fancy and more meaningful discord messages for your commits.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%