This plugin allows you to trigger a Netlify build with the click of a button within the WordPress Dashboard.
- Follow the Netlify instructions to create a "Build hook" for your Netlify site: https://docs.netlify.com/configure-builds/build-hooks/
- Copy the URL value
- Open up your site's
wp-config.php
file - Create a new constant called
NETLIFY_BUILD
define('NETLIFY_BUILD', 'https://api.netlify.com/build_hooks/xxxxxxxxx');