Skip to content

GitHub Action for writing to a Discord Webhook.

License

Notifications You must be signed in to change notification settings

Redstoned/discord-webhook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Webhook

GitHub Action for writing to a Discord webhook.

Inputs

url

Required The webhook endpoint to write to.

message

Required The message contents to send.

name

The username to identify as with Discord.

avatar

The URL of the avatar to use for the message.

level

The notification level to use.

title

Set the title of the notification.

format

Apply the standard message template.

fail

Exit with a failure code.

Example usage

uses: Redstoned/discord-webhook@v2
with:
  url: https://discord.com/api/webhooks/123457890/correct-horse-battery-staple
  level: error
  message: "I'm afraid I can't do that, Dave."
  format: yes

About

GitHub Action for writing to a Discord Webhook.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.8%
  • Dockerfile 3.2%