putyourlightson / craft-blitz-netlify
Netlify deployer for the Blitz plugin for Craft CMS.
Installs: 2 324
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:blitz-deployer
Requires
- php: ^8.2
- ext-zip: *
- craftcms/cms: ^5.0
- league/oauth2-client: ^2.0
- putyourlightson/craft-blitz: ^5.0
- putyourlightson/oauth2-netlify: ^1.0
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
This package is auto-updated.
Last update: 2024-10-08 15:19:47 UTC
README
Blitz Netlify Deployer for Craft CMS
The Netlify Deployer allows the Blitz plugin for Craft CMS to deploy cached files directly to Netlify sites.
While the Netlify Deployer provides a quick and easy setup, the Git Deployer that ships with Blitz is the recommended way of deploying full websites, including images and other static assets, to Netlify sites.
Usage
Install the deployer using composer.
composer require putyourlightson/craft-blitz-netlify
Then add the class to the driverTypes
config setting in config/blitz.php
.
// The deployer type classes to add to the plugin’s default deployer types. 'deployerTypes' => [ 'putyourlightson\blitznetlify\NetlifyDeployer', ],
You can then select the deployer and settings either in the control panel or in config/blitz.php
.
// The deployer type to use. 'deployerType' => 'putyourlightson\blitznetlify\NetlifyDeployer', // The deployer settings. 'deployerSettings' => [ 'clientId' => 'id_abcdefgh1234567890', 'clientSecret' => 'secret_abcdefgh1234567890', ],
Documentation
Read the documentation at putyourlightson.com/plugins/blitz.
Created by PutYourLightsOn.