docs/recipe/craftcms.md
require 'recipe/craftcms.php';
Deployer is a free and open source deployment tool written in PHP. It helps you to deploy your Craftcms 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 Craftcms consists of:
The craftcms recipe is based on the common recipe.
'storage/logs/*.log'
Overrides shared_dirs from recipe/deploy/shared.php.
[
'storage',
'web/assets',
]
Overrides shared_files from recipe/deploy/shared.php.
['.env']
Overrides writable_dirs from recipe/deploy/writable.php.
[
'config/project',
'storage',
'web/assets',
'web/cpresources',
]
Runs garbage collection.
Garbage collection
Deploys Craft CMS.
Main deploy
This task is group task which contains next tasks: