Skip to content

See Vercel deployment events in Discord (receives a deployment webhook from Vercel and sends it to a Discord message webhook).

License

Notifications You must be signed in to change notification settings

TalismanSociety/vercel-to-discord

 
 

Repository files navigation

Vercel deployment events in Discord

This is an extremely simple next.js app that enables you to show Vercel deployment events in Discord.

image

Setup

  1. Configure Vercel to emit a webhook to your instance of this app when deployments occur. The endpoint should be: https://<wherever-you-deploy-this-service>/api/vercel-webhook

image

  1. Configure your Discord server with a webhook for receiving messages and sending them to a specific channel:

image

  1. Deploy the service with the following envionment variables:
# Get this from the Vercel webui when setting up your webhook
VERCEL_WEBHOOK_INTEGRATION_SECRET=VAn**********************

# Get this from the Discord UI when setting up a destination webhook
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/**************/39NQ**************************************************************

Development

This is a Next.js project bootstrapped with create-next-app.

To run locally:

pnpm dev

Then expose it on the internet via your favourite port-forwarding tool (ngrok, or vs code port forwarding etc...).

Make sure you've set up the appropriate env vars as per setup instructions above.

About

See Vercel deployment events in Discord (receives a deployment webhook from Vercel and sends it to a Discord message webhook).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.6%
  • CSS 4.8%
  • JavaScript 1.6%