https://github.com/kellymears/netlify-plugin-discord
Netlify build status notifications in Discord
https://github.com/kellymears/netlify-plugin-discord
Last synced: over 1 year ago
JSON representation
Netlify build status notifications in Discord
- Host: GitHub
- URL: https://github.com/kellymears/netlify-plugin-discord
- Owner: kellymears
- Archived: true
- Created: 2021-02-08T02:45:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-30T09:58:03.000Z (almost 4 years ago)
- Last Synced: 2025-02-09T04:04:49.839Z (over 1 year ago)
- Language: JavaScript
- Size: 603 KB
- Stars: 7
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# netlify-plugin-discord


Get build notifications in Discord.
## Table of Contents
- [Create a Discord webhook](#create-a-discord-webhook)
- [Installation](#installation)
- [Configuration](#configuration)
## 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
```sh
yarn add netlify-plugin-discord
```
Add the plugin to [your netlify config](https://docs.netlify.com/configure-builds/file-based-configuration/).
```toml
# netlify.toml
[[plugins]]
package = "netlify-plugin-discord"
```
## Configuration
Declare the `DISCORD_WEBHOOK_URL` as [a netlify build setting](https://docs.netlify.com/configure-builds/file-based-configuration/#build-settings).
```toml
# 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](https://docs.netlify.com/configure-builds/environment-variables/#declare-variables).
Happy building!