From 3d14e10ced5558cbc5f814b0e4d1ca8e44614b2d Mon Sep 17 00:00:00 2001 From: thisfro Date: Fri, 14 Jan 2022 14:20:21 +0100 Subject: [PATCH] Set binaries --- deploy.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy.php b/deploy.php index 5c3195f..6694aa2 100644 --- a/deploy.php +++ b/deploy.php @@ -12,6 +12,14 @@ set('repository', 'ssh://git@git.thisfro.ch:222/thisfro/pflaenz.li.git'); // [Optional] Allocate tty for git clone. Default value is false. set('git_tty', true); +set('bin/php', function() { + return '/opt/php8.0/bin/php'; +}); + +set('bin/composer', function() { + return '/opt/php8.0/bin/composer2'; +}); + // Shared files/dirs between deploys add('shared_files', ['public/.htaccess']); add('shared_dirs', ['public/uploads']);