Commit 5a628f73 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Adds opcache clear on deployment

parent 0f1124df
Pipeline #1910 failed with stages
in 2 minutes and 10 seconds
......@@ -4,6 +4,7 @@ namespace Deployer;
require_once '/composer/vendor/deployer/deployer/recipe/common.php';
require_once '/composer/vendor/deployer/recipes/rsync.php';
require_once '/composer/vendor/deployer/recipes/cachetool.php';
$sharedDirectories = [
'html/fileadmin',
......@@ -50,6 +51,7 @@ set('rsync', [
]);
set('rsync_src', '/src/');
set('keep_releases', 10);
set('cachetool', '/var/run/php7-fpm-extensionsstage.sock');
serverList('/src/.gitlab-ci/deployer/servers.yml');
task('typo3', function() {
......@@ -67,6 +69,7 @@ task('deploy', [
'deploy:shared',
'deploy:writable',
'deploy:symlink',
'cachetool:clear:opcache',
'cleanup',
'typo3'
]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment