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:
memen45 2021-04-11 16:49:46 +02:00 committed by GitHub
parent a313326911
commit 85ba976307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');