netlify-plugin-discord is a Netlify Build plugin designed to send automated build notifications to a Discord channel via webhooks. As of its initial release (v0.0.2), it offers a straightforward way to keep development teams informed about build statuses (success, failure, etc.) directly within Discord. Its release cadence is currently unknown given its early stage. The plugin differentiates itself by providing a simple, opinionated integration specifically for Netlify's build ecosystem, contrasting with more generic webhook solutions or custom scripting that would require more setup. It focuses solely on Discord notifications, making it a targeted utility for Netlify users who utilize Discord for team communication.
npm install netlify-plugin-discordNo compatibility data collected yet for this library.
This quickstart configures the netlify-plugin-discord in your netlify.toml and sets the required Discord webhook URL as an environment variable, enabling build notifications.
Ensure DISCORD_WEBHOOK_URL is configured in your Netlify site settings under 'Build & deploy' -> 'Environment variables' with a valid Discord webhook URL.
Always use Netlify's environment variable management for DISCORD_WEBHOOK_URL. Do not hardcode it in netlify.toml or any source files.
Monitor the plugin's GitHub repository for updates and release notes, especially before upgrading to new major versions.
Verify the DISCORD_WEBHOOK_URL in Netlify's environment variables. Test the webhook URL directly (e.g., using `curl -H "Content-Type: application/json" -d '{"content": "Test message"}' YOUR_WEBHOOK_URL`) and ensure the Discord channel allows messages from webhooks.Check Netlify build logs for more specific error messages. Ensure the `DISCORD_WEBHOOK_URL` is correct and accessible. Temporarily disable the plugin to confirm it's the source of the build failure.
No dependency data recorded yet.