This is prepared listener that help make maintenance mode easier.
Plugin has two sections rewrite and rename.
You have to register to before
and to after
also (!).
Before: backup origin file, rename destination file to source file
After: revert rewriting
deployer:
plugins:
maintenance:
rewrite:
- [www/index.php, www/index.maintenance]
Before: rename origin file to destination file
After: revert renaming
deployer:
plugins:
maintenance:
rename:
- [www/.maintenance.php, www/maintenance.php]
You can combine rewriting and renaming together.
This is prepared listener that runs command:
composer install --no-dev --prefer-dist --optimize-autoloader -d $DIR
$DIR
is section.local
This is prepared listener that runs command:
composer update --no-dev --prefer-dist --optimize-autoloader -d $DIR
$DIR
is section.local