* fix typo in magento recipe
* process the correct theme names and add -f switch here as well
* run docgen
* commit the other changed doc files after running bin/docgen
* Revert "commit the other changed doc files after running bin/docgen"
This reverts commit e0d1c2b7ca23ecec2390fc4f83f9e1a96094e1d3.
* Changed step to upgrade the DB only instead of Magento and execute it once if multiple servers are selected for the deployment
* Bugfix: Added once() to task instead of run commando. Regenerated docs.
* Improvement: Changed documentation to reflect that the database step is only executed once.
* DD#0000: feat: Magento2: Add support for preload keys
- Also updated to remove the config set and instead manually add the hocks to your deployer file
- And move var-exporter into the main composer require
- https://github.com/deployphp/deployer/pull/3453#issuecomment-1497248859
* DD#0000: feat: Reverted composer updates
* DD#0000: feat: Updated docs
* DD#0000: feat: Updated replace to use preg to make sure it only checks beginning of string
Updated readme use better grammer
* DD#0000: feat: Updated md docs
* Only set maintenance mode once if needed
Also:
- by adding magento:maintenance:enable-if-needed to the task list instead of invoking it directly, it is now possible to use after() to add custom tasks to be performed in maintenance mode
- the maintenance_mode_status_active check was removed because it is unnecessary and can return wrong results because of caching
* Update docs
* adds sticky to writable recipe
chgrp for all files, chmod g+rwxs for directories, chmod g+rw for files
* adds artifact deployment for magento2 recipe
* Updates Documentation
* removes mode that has been submitted in other MR
* adds divers discussion results from PR #3317
- uses contrib/cachetool
- removes task build:prepare-env
- comments additional_shared_files and additonal_shared_dirs
- avoids invoke()
* updates docs
* corrects additional shared
* expands DocGen for artifact deployment and adds documentation to the magento2 recipe
* corrects missing capital and typo
---------
Co-authored-by: Anton Medvedev <anton@medv.io>
* Magento: create variable for bin/magento
so it can be overridden to a custom location
* Update docs
* Allow Magento to be installed in a subdirectory
* Update docs
* Use Magento subdirectory for composer command
* Fix bin/magento call in magento_version function
* Update docs
* Update docs
* Combine magento_dir and bin/magento configurations correctly
* Magento: Fix artifact_path generation
- Fix 1. Add -p parameter to mkdir command
{{artifact_path}} could be configured with multiple folders such as build/artifacts
- Fix 2. run() -> runLocally()
The {{artifact_dir}} is used to keep artifacts archive file.
It should be called at CI server only and not at target server.
Then the task `artifact:upload` uploads this file at target server host under {{release_path}}.
It is not needed to have {{artifact_dir}} at target server.
* Update docs
* var/page_cache as writable_dirs
It will fix following Zend exception after successful deployment:
Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/path/to/www/releases/7/var/page_cache" is not writable in /path/to/www/releases/7/vendor/magento/zendframework1/library/Zend/Cache.php:209
This exception does not occur on every environment, it depends on PHP pool user/group (default www-data or owner of project directory).
* docgen