sgreer81 / netlify-rebuild

WordPress Plugin to trigger Netlify rebuild

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Netlify Rebuild

A simple WordPress plugin which makes a POST request to a Netlify webhook (or any webhook for that matter) on post save. It only runs if publishing a post for the first time, or updating a published post.

The Netlify webhook should be defines in the WordPress wp-config.php file. Example...

define('NETLIFY_WEBHOOK', 'https://api.netlify.com/build_hooks/xxxxxxxxxxx');

About

WordPress Plugin to trigger Netlify rebuild

License:GNU General Public License v2.0


Languages

Language:PHP 100.0%