Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.66 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.66 KB

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.