Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 691 Bytes

README.md

File metadata and controls

44 lines (26 loc) · 691 Bytes

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/[email protected]
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