From 34d562702f65efab47db5b70bf63b5caafcf7e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=B6ffler?= Date: Mon, 25 Jun 2018 12:54:02 +0200 Subject: [PATCH] Fix path to bin folder on deployment --- .gitlab-ci/deployer/deploy.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci/deployer/deploy.php b/.gitlab-ci/deployer/deploy.php index 1bb266df..34c229d6 100644 --- a/.gitlab-ci/deployer/deploy.php +++ b/.gitlab-ci/deployer/deploy.php @@ -54,14 +54,15 @@ set('rsync_src', './'); set('keep_releases', 10); serverList('./.gitlab-ci/deployer/servers.yml'); set('php', '/opt/php/php70/bin/php'); +set('typo3_console', 'vendor/bin/typo3cms'); task('typo3', function() { - run('cd {{release_path}} && {{php}} bin/typo3cms install:generatepackagestates'); - run('cd {{release_path}} && {{php}} bin/typo3cms install:extensionsetupifpossible'); + run('cd {{release_path}} && {{php}} {{typo3_console}} install:generatepackagestates'); + run('cd {{release_path}} && {{php}} {{typo3_console}} install:extensionsetupifpossible'); }); task('cache', function () { - run('cd {{release_path}} && {{php}} bin/cachetool opcache:reset'); + run('cd {{release_path}} && {{php}} vendor/bin/cachetool opcache:reset'); }); -- GitLab