Adopt recent changes, migrate product detail page

This commit is contained in:
Björn Fromme
2021-12-20 16:00:41 +01:00
parent aef0f3df68
commit 34d36a68d9
28 changed files with 618 additions and 582 deletions
+8
View File
@@ -63,11 +63,13 @@ host('production')
->forwardAgent()
->multiplexing()
->set('deploy_path', '/home/www/p546128/html/{{application}}')
->set('buspronet_path', '/home/www/p546128/html/kuschick/buspronet/buspronet')
->set('bin/php', '/usr/local/bin/php')
->set('http_user', 'p546128')
->set('bin/composer', '/usr/local/bin/composer')
->set('rsync_src', __DIR__)
->set('rsync', $rsyncOptions)
->set('bin/cachetool', 'cachetool-7.0.0.phar')
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{release_path}}/public/ --web-url=https://www.ep-reisen.de')
;
@@ -86,6 +88,7 @@ host('staging')
->set('bin/composer', '/usr/local/bin/composer')
->set('rsync_src', __DIR__)
->set('rsync', $rsyncOptions)
->set('bin/cachetool', 'cachetool-7.0.0.phar')
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{release_path}}/public/ --web-url=https://staging.ep-reisen.de --web-basic-auth=ep:reisen')
->set('shared_files', $sharedFilesStaging)
;
@@ -102,6 +105,7 @@ task('deploy', [
'typo3:language:update',
'typo3:cache:flush',
'deploy:symlink',
'deploy:buspronet:symlink',
'deploy:unlock',
'cachetool:clear:opcache',
'cleanup',
@@ -125,6 +129,10 @@ task('deploy_staging', [
'cleanup',
]);
task('deploy:buspronet:symlink', function () {
run('ln -s {{buspronet_path}} {{release_path}}/public/buchung');
});
task ('deploy:assets:build', function () {
runLocally('npm i && npm run build');
});