@woodydark/netlify-plugin-discord
v0.0.9
Published
Netlify Build plugin - Discord webhook notifications
Maintainers
Readme
netlify-plugin-discord

Get build notifications in Discord.
Table of Contents
Create a Discord webhook
Edit the channel where you would like the webhook to message:

Click View Webhooks in the Integrations menu:

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

Installation
yarn add netlify-plugin-discordAdd 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"
DISCORD_NOTIFY_CONTEXT = "production deploy-preview branch-deploy" # or "all". If not set, it defaults to "all"Or, declare the DISCORD_WEBHOOK_URL and/or DISCORD_NOTIFY_CONTEXT environment variable using the Netlify dashboard.
Happy building!
