How to trigger a webhook with WordPress

12.10.2018

I have a Gatsby site andrewhudson.me which is a static Server Side Rendered (SSR) site built using React and hosted on Netlify. I wanted to trigger a build when I published a new post (or updated an existing one) in WordPress and here’s how I did it.