Skip to content

The middleman to allow Netlify POST webhook to send message to Discord webhook

License

Notifications You must be signed in to change notification settings

rubek-joshi/netlify-to-discord-webhook

Repository files navigation

netlify-to-discord-webhook

The middleman to allow Netlify POST webhook to send message to Discord webhook

Getting started

  1. Create a free web service in Render.

  2. Create a Discord Webhook and copy its webhook url:

    image

  3. Add your deploy notifications in Netlify:

    image

  4. Configure your deploy notifications in Netlify:

    image

  5. Add the following environment variables:

    image

  6. Set build command in Render as yarn && yarn build or npm i && npm run build.

  7. Set health check plan in Render:

    image

  8. Create a free account on Cron Job.

  9. Click on CREATE CRONJOB button:

    image

  10. Set any title you like and enter your /healthz endpoint in URL. Set schedule to every 10 minutes:

    image

  11. Click on TEST RUN and once it's success, click on SAVE. This will ensure your service stays awake.

  12. Pat yourself in the back.

About

The middleman to allow Netlify POST webhook to send message to Discord webhook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published