wearelucid/craft-netlify-deploy

A plugin to display a button to trigger a netlify deploy.

1.2.2 2023-09-15 15:01 UTC

This package is auto-updated.

Last update: 2024-05-15 16:31:42 UTC


README

Basic plugin to add a button to deploy to Netlify and show the status badge.

Requirements

This plugin requires Craft CMS 4.2.0 or later.

Installation

To install the plugin, follow these instructions.

ddev composer require wearelucid/craft-netlify-deploy
ddev php craft plugin/install netlify-deploy

Add environment variables to your .env file:

# Netlify Deploy Button Settings
# NETLIFY_HOOK_URL=https://api.netlify.com/build_hooks/SOME_HOOK_ID
# NETLIFY_BADGE_URL=https://api.netlify.com/api/v1/badges/SOME_BADGE_ID/deploy-status

Brought to you by Lucid