mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 08:45:04 +01:00
Update magento2.php (#2452)
Fixes failed deploys when app/etc/config.php is changed with added sites, stores, store views or themes. Co-authored-by: Fabian Blechschmidt <github@fabian-blechschmidt.de>
This commit is contained in:
parent
a313326911
commit
85ba976307
@ -156,7 +156,7 @@ task('magento:upgrade:db', function () {
|
||||
invoke('magento:maintenance:enable');
|
||||
}
|
||||
|
||||
run("{{bin/php}} {{release_or_current_path}}/bin/magento setup:upgrade --keep-generated");
|
||||
run("{{bin/php}} {{release_or_current_path}}/bin/magento setup:upgrade --keep-generated --no-interaction");
|
||||
|
||||
if (!get('maintenance_mode_status_active')) {
|
||||
invoke('magento:maintenance:disable');
|
||||
|
Loading…
x
Reference in New Issue
Block a user