This commit is contained in:
parent
4bf0855964
commit
7e5ede770a
1 changed files with 7 additions and 1 deletions
|
|
@ -184,7 +184,6 @@ task('release:create', [
|
|||
*/
|
||||
task('release:switch', [
|
||||
'deploy:symlink',
|
||||
'cachetool:clear:opcache',
|
||||
'php:reload',
|
||||
'php:reload-prod',
|
||||
'typo3:extension:setup', // DB schema for extensions
|
||||
|
|
@ -204,3 +203,10 @@ task('release:switch', [
|
|||
|
||||
// Unlock on failure
|
||||
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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue