Basic plugin to add a button to deploy to Netlify and show the status badge.
This plugin requires Craft CMS 4.2.0 or later.
To install the plugin, follow these instructions.
ddev composer require wearelucid/craft-netlify-deploy
ddev php craft plugin/install netlify-deployAdd 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-statusBrought to you by Lucid