Skip to content

Latest commit

 

History

History
executable file
·
26 lines (17 loc) · 674 Bytes

README.md

File metadata and controls

executable file
·
26 lines (17 loc) · 674 Bytes

Netlify Deploy Button Plugin for Craft CMS 4

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