diff --git a/deploy.php b/deploy.php index acc0e229..e187eb72 100644 --- a/deploy.php +++ b/deploy.php @@ -5,6 +5,9 @@ require 'recipe/typo3.php'; require 'contrib/rsync.php'; require 'contrib/cachetool.php'; +// Use cachetool version compatible with PHP 7.4 on the host +set('cachetool_url', 'https://github.com/gordalina/cachetool/releases/download/7.0.0/cachetool.phar'); + set('typo3_webroot', 'public'); set('application', 'ep-reisen-typo3'); set('keep_releases', 3); @@ -113,7 +116,9 @@ task('deploy:buspronet:symlink', function () { }); task ('deploy:assets:build', function () { - runLocally('npm i && npm rebuild node-sass && npm run build'); + runLocally('ddev exec npm ci'); + runLocally('ddev exec npm rebuild node-sass'); + runLocally('ddev exec npm run build'); }); task('typo3:database:migrate', function () {