mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-21 07:42:24 +01:00
4.3 KiB
4.3 KiB
magento2
- Requires
Configuration
static_content_locales
By default setup:static-content:deploy uses en_US
.
To change that, simply put set('static_content_locales', 'en_US de_DE');
in you deployer script.
'en_US'
content_version
shared_files
Overrides shared_files from recipe/deploy/shared.php
.
[
'app/etc/env.php',
'var/.maintenance.ip',
]
shared_dirs
Overrides shared_dirs from recipe/deploy/shared.php
.
[
'var/composer_home',
'var/log',
'var/export',
'var/report',
'var/import',
'var/import_history',
'var/session',
'var/importexport',
'var/backups',
'var/tmp',
'pub/sitemap',
'pub/media'
]
writable_dirs
Overrides writable_dirs from recipe/deploy/writable.php
.
[
'var',
'pub/static',
'pub/media',
'generated'
]
clear_paths
Overrides clear_paths from recipe/deploy/clear_paths.php
.
[
'generated/*',
'pub/static/_cache/*',
'var/generation/*',
'var/cache/*',
'var/page_cache/*',
'var/view_preprocessed/*'
]
magento_version
maintenance_mode_status_active
Tasks
magento:compile
Compile magento di.
Tasks
magento:deploy:assets
Deploy assets.
magento:sync:content_version
Sync content version.
magento:maintenance:enable
Enable maintenance mode.
magento:maintenance:disable
Disable maintenance mode.
magento:config:import
Config Import.
magento:upgrade:db
Upgrade magento database.
magento:cache:flush
Flush Magento Cache.
deploy:magento
Magento2 deployment operations.
This task is group task which contains next tasks:
deploy
Deploy your project.
This task is group task which contains next tasks: