BKWLD / craft-netlify-deploy-status

A Craft plugin that shows Netlify deploy statuses.
MIT License
2 stars 1 forks source link
craft-plugin craftcms netlify

Craft Netlify Deploy Status

Craft plugin that shows Netlify deploy statuses

Requirements

This plugin requires Craft CMS 3 or 4.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

    cd /path/to/project
  2. Then tell Composer to load the plugin:

    composer require bukwild/craft-netlify-deploy-status
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Craft Netlify Deploy Status.

Adding Webhooks

  1. Create a new incoming webhook in /admin/craft-netlify-deploy-status img_1.png

  2. Copy Webhook Url img_2.png

  3. In Netlify, go to Site Settings -> Build & Deploy -> Deploy Notifications, click on Add notification and select Outgoing Webhook img_3.png

  4. Paste the Webhook URL in the URL to notify field and select an event to listen for and click Save. NOTE: use the same Webhook URL for all the events in a single project you want to get notifications from. One Webhook URL per Netlify project. img_4.png

  5. To test the webhook, try deploying a site or making a commit to the site. (If redeploying the site there will be no Commit URL) img_5.png

Brought to you by Bukwild