chore: update deployer config to avoid issues with opcache

This commit is contained in:
Björn Fromme
2026-01-27 17:56:22 +01:00
parent d4b44d3138
commit ca9bc73de8
+3 -3
View File
@@ -67,7 +67,7 @@ host('production')
->set('composer_options', '--prefer-dist --no-progress --no-interaction --optimize-autoloader') ->set('composer_options', '--prefer-dist --no-progress --no-interaction --optimize-autoloader')
->set('rsync_src', __DIR__) ->set('rsync_src', __DIR__)
->set('rsync', $rsyncOptions) ->set('rsync', $rsyncOptions)
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{release_or_current_path}}/public/ --web-url=https://www.ep-reisen.de') ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://www.ep-reisen.de')
; ;
$sharedFilesStaging = get('shared_files'); $sharedFilesStaging = get('shared_files');
@@ -87,7 +87,7 @@ host('staging')
->set('composer_options', '--prefer-dist --no-progress --no-interaction --optimize-autoloader') ->set('composer_options', '--prefer-dist --no-progress --no-interaction --optimize-autoloader')
->set('rsync_src', __DIR__) ->set('rsync_src', __DIR__)
->set('rsync', $rsyncOptions) ->set('rsync', $rsyncOptions)
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{release_or_current_path}}/public/ --web-url=https://staging.ep-reisen.de --web-basic-auth=ep:reisen') ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://staging.ep-reisen.de --web-basic-auth=ep:reisen')
->set('shared_files', $sharedFilesStaging) ->set('shared_files', $sharedFilesStaging)
; ;
@@ -103,9 +103,9 @@ task('deploy', [
'typo3:database:migrate', 'typo3:database:migrate',
'typo3:language:update', 'typo3:language:update',
'typo3:cache:flush', 'typo3:cache:flush',
'cachetool:clear:opcache',
'deploy:publish', 'deploy:publish',
'deploy:buspronet:symlink', 'deploy:buspronet:symlink',
'cachetool:clear:opcache',
]); ]);
task('deploy:buspronet:symlink', function () { task('deploy:buspronet:symlink', function () {