Skip to content

kellymears/netlify-plugin-discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netlify-plugin-discord

npm

Notification

Get build notifications in Discord.

Table of Contents

Create a Discord webhook

Edit the channel where you would like the webhook to message:

Edit channel

Click View Webhooks in the Integrations menu:

Integrations

Add the webhook. Copy the Webhook URL for use configuring this build plugin.

Webhook

Installation

yarn add netlify-plugin-discord

Add the plugin to your netlify config.

# netlify.toml

[[plugins]]
  package = "netlify-plugin-discord"

Configuration

Declare the DISCORD_WEBHOOK_URL as a netlify build setting.

# netlify.toml

[build.environment]
  DISCORD_WEBHOOK_URL = "https://discord.com/your-webhook-url"

Or, declare the DISCORD_WEBHOOK_URL environment variable using the Netlify dashboard.

Happy building!

About

Netlify build status notifications in Discord

Resources

Stars

Watchers

Forks

Packages

No packages published