docs/recipe/statamic.md
require 'recipe/statamic.php';
Deployer is a free and open source deployment tool written in PHP. It helps you to deploy your Statamic application to a server. It is very easy to use and has a lot of features.
Three main features of Deployer are:
Additionally, Deployer has a lot of other features, like:
You can read more about Deployer in Getting Started.
The deploy task of Statamic consists of:
The statamic recipe is based on the laravel recipe.
$result = run('{{bin/php}} {{release_or_current_path}}/please --version');
preg_match_all('/(\d+\.?)+/', $result, $matches);
return $matches[0][0] ?? 'unknown';
Rebuilds the cached addon package manifest.
Addons
Generates asset preset manipulations.
Assets
Generates asset metadata files.
Git add and commit tracked content.
Git
Clears the Glide image cache.
Glide
Generates responsive images.
Responsive Images (not in the core)
Regenerate responsive images.
Inserts an item into its search indexes.
Search
Update a search index.
Clears the "Stache" cache.
Stache
Diagnose any problems with the Stache.
Clears and rebuild the "Stache" cache.
Builds the "Stache" cache.
Clears the static page cache.
Static
Warms the static cache by visiting all URLs.
Outputs details helpful for support requests.
Support
Runs update scripts from specific version.
Updated
Deploys your project.
Main Deploy Script for Statamic, which will overwrite the Laravel default.
This task is group task which contains next tasks: