fix: opcache
All checks were successful
Self Test / test (push) Successful in 13s

This commit is contained in:
Dominik Polakovics Polakovics 2026-02-02 21:59:15 +01:00
parent 4bf0855964
commit 7e5ede770a

View file

@ -184,7 +184,6 @@ task('release:create', [
*/ */
task('release:switch', [ task('release:switch', [
'deploy:symlink', 'deploy:symlink',
'cachetool:clear:opcache',
'php:reload', 'php:reload',
'php:reload-prod', 'php:reload-prod',
'typo3:extension:setup', // DB schema for extensions 'typo3:extension:setup', // DB schema for extensions
@ -204,3 +203,10 @@ task('release:switch', [
// Unlock on failure // Unlock on failure
after('deploy:failed', 'deploy:unlock'); after('deploy:failed', 'deploy:unlock');
// set release path after symlink
after('deploy:symlink', function () {
set('release_path', get('current_path'));
});
// clear opcache after symlink
after('deploy:symlink', 'cachetool:clear:opcache');