Craft Netlify Trigger allows developers & content editors who are using Craft in a headless manner with a static site on Netlify, to press a button within the control panel and deploy the latest content to either a Staging or Production environment.
This plugin requires Craft CMS 4.0.0 or later.
To install the plugin in your Craft 4 project, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require upstatement/craft-netlify-trigger
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Netlify Trigger.
-
In Plugin settings, enter the webhooks you're plannng to use.
-
Click the Netlify Trigger link in the CP nav.
- All settings may be optionally configured using a config file. The values, contained in
config.php
, are described below:
Enter the URL that we should fire a Post request to that will kick off the build process for the Production environment.
Enter the URL that we should fire a Post request to that will kick off the build process for the Staging environment.
- 1.0.0 - Initital release of Craft Netlify Trigger.
We welcome all contributions to our projects! Filing bugs, feature requests, code changes, docs changes, or anything else you'd like to contribute are all more than welcome!
Upstatement strives to provide a welcoming, inclusive environment for all users. To hold ourselves accountable to that mission, we have a strictly-enforced code of conduct.
Upstatement is a digital transformation studio headquartered in Boston, MA that imagines and builds exceptional digital experiences. Make sure to check out our services, work, and open positions!