diff --git a/deploy.php b/deploy.php index 393fa064..acc0e229 100644 --- a/deploy.php +++ b/deploy.php @@ -67,7 +67,7 @@ host('production') ->set('composer_options', '--prefer-dist --no-progress --no-interaction --optimize-autoloader') ->set('rsync_src', __DIR__) ->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'); @@ -87,7 +87,7 @@ host('staging') ->set('composer_options', '--prefer-dist --no-progress --no-interaction --optimize-autoloader') ->set('rsync_src', __DIR__) ->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) ; @@ -103,9 +103,9 @@ task('deploy', [ 'typo3:database:migrate', 'typo3:language:update', 'typo3:cache:flush', + 'cachetool:clear:opcache', 'deploy:publish', 'deploy:buspronet:symlink', - 'cachetool:clear:opcache', ]); task('deploy:buspronet:symlink', function () {