Commit 34d56270 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Fix path to bin folder on deployment

parent ba438aaa
Pipeline #4816 passed with stages
in 5 minutes and 52 seconds
...@@ -54,14 +54,15 @@ set('rsync_src', './'); ...@@ -54,14 +54,15 @@ set('rsync_src', './');
set('keep_releases', 10); set('keep_releases', 10);
serverList('./.gitlab-ci/deployer/servers.yml'); serverList('./.gitlab-ci/deployer/servers.yml');
set('php', '/opt/php/php70/bin/php'); set('php', '/opt/php/php70/bin/php');
set('typo3_console', 'vendor/bin/typo3cms');
task('typo3', function() { task('typo3', function() {
run('cd {{release_path}} && {{php}} bin/typo3cms install:generatepackagestates'); run('cd {{release_path}} && {{php}} {{typo3_console}} install:generatepackagestates');
run('cd {{release_path}} && {{php}} bin/typo3cms install:extensionsetupifpossible'); run('cd {{release_path}} && {{php}} {{typo3_console}} install:extensionsetupifpossible');
}); });
task('cache', function () { task('cache', function () {
run('cd {{release_path}} && {{php}} bin/cachetool opcache:reset'); run('cd {{release_path}} && {{php}} vendor/bin/cachetool opcache:reset');
}); });
......
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