Commit 20c3825c authored by Thomas Löffler's avatar Thomas Löffler

Set cachetool for deployment

parent d2ecf227
Pipeline #2439 failed with stages
in 2 minutes and 24 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',
......@@ -52,6 +53,9 @@ set('rsync_src', './');
set('keep_releases', 10);
serverList('./.gitlab-ci/deployer/servers.yml');
host('develop')->set('cachetool', '/var/run/php7-fpm-extensionsstage.sock');
host('master')->set('cachetool', '/var/run/php7-fpm-extensions.sock');
task('typo3', function() {
run('cd {{release_path}} && /opt/php/php70/bin/php bin/typo3cms install:generatepackagestates 0 1');
run('cd {{release_path}} && /opt/php/php70/bin/php bin/typo3cms database:updateschema');
......
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