From 1ea9a4c63e7635430c15e425fb802a80a315b522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 22 Jan 2024 00:21:51 +0100 Subject: [PATCH] Fix upgrade phpversion --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index bc225c0..033f538 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -77,8 +77,8 @@ chown -R "$app:www-data" "$install_dir" pushd "$install_dir" _ynh_exec_with_drush_php drush "@$app.prod" state:set system.maintenance_mode 1 --input-format=integer - _ynh_exec_with_drush_php php composer.phar update drupal/core webflo/drupal-core-require-dev --with-dependencies - _ynh_exec_with_drush_php php composer.phar update --with-dependencies + _ynh_exec_with_drush_php "php$phpversion" composer.phar update drupal/core webflo/drupal-core-require-dev --with-dependencies + _ynh_exec_with_drush_php "php$phpversion" composer.phar update --with-dependencies _ynh_exec_with_drush_php drush "@$app.prod" -y updatedb _ynh_exec_with_drush_php drush "@$app.prod" cache:rebuild _ynh_exec_with_drush_php drush "@$app.prod" state:set system.maintenance_mode 0 --input-format=integer