https://github.com/putyourlightson/craft-blitz-netlify
Netlify deployer for the Blitz plugin for Craft CMS.
https://github.com/putyourlightson/craft-blitz-netlify
Last synced: 10 months ago
JSON representation
Netlify deployer for the Blitz plugin for Craft CMS.
- Host: GitHub
- URL: https://github.com/putyourlightson/craft-blitz-netlify
- Owner: putyourlightson
- License: other
- Created: 2019-10-16T00:35:39.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2024-04-08T14:15:24.000Z (about 2 years ago)
- Last Synced: 2024-11-14T21:40:13.874Z (over 1 year ago)
- Language: PHP
- Size: 30.3 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
[]((https://packagist.org/packages/putyourlightson/craft-blitz-netlify))
[](https://packagist.org/packages/putyourlightson/craft-blitz-netlify)

# Blitz Netlify Deployer for Craft CMS
The Netlify Deployer allows the [Blitz](https://putyourlightson.com/plugins/blitz) plugin for [Craft CMS](https://craftcms.com/) 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.
```shell
composer require putyourlightson/craft-blitz-netlify
```
Then add the class to the `driverTypes` config setting in `config/blitz.php`.
```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`.
```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](https://putyourlightson.com/plugins/blitz#remote-deployment).
Created by [PutYourLightsOn](https://putyourlightson.com/).