From cdc7ba10df0ccd1c3d0c7aaca2c0665a164f6fa3 Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Tue, 14 Dec 2021 15:51:36 +0100 Subject: [PATCH] Maybe this way? --- .gitlab-ci/deploy.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci/deploy.php b/.gitlab-ci/deploy.php index 13c4272..872e4e1 100644 --- a/.gitlab-ci/deploy.php +++ b/.gitlab-ci/deploy.php @@ -11,6 +11,8 @@ require 'recipe/cachetool.php'; // Global config set('allow_anonymous_stats', false); +set('cachetool_binary', 'cachetool-7.0.0.phar'); + $rsync_config = [ 'exclude' => [ '.git', @@ -43,8 +45,7 @@ host('development') ->set('rsync', $rsync_config) ->set('rsync_src', __DIR__.'/../') ->set('rsync_dest', '{{release_path}}') - ->set('cachetool', '127.0.0.1:9001') - ->set('cachetool_binary', 'cachetool-7.0.0.phar'); + ->set('cachetool', '127.0.0.1:9001'); // Build task task('build-custom', function () { -- GitLab