Skip to content

uplime/discord-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Webhook

GitHub Action for writing to a Discord Webhook.

Inputs

url

Required The webhook endpoint to write to.

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.

message

Required Send a plain message to the webhook.

format

Apply the standard message template.

Example usage

uses: uplime/discord-webhook@v1.1
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