From 7cb4141b8b755bd825b723eebc4ad347b332433f Mon Sep 17 00:00:00 2001 From: Tiddo Nees Date: Sun, 3 Nov 2024 21:03:30 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 16b817963..1532c5f1e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ variables: build: stage: build before_script: - - sudo update-alternatives --set php /usr/bin/php7.4 + - export PATH="/usr/bin/php7.4:$PATH" - php -v script: - composer update --no-dev @@ -30,7 +30,7 @@ build: .deploy: &deploy stage: deploy before_script: - - sudo update-alternatives --set php /usr/bin/php7.4 + - export PATH="/usr/bin/php7.4:$PATH" - php -v - eval $(ssh-agent -s) - ssh-add <(echo $SSH_PRIVATE_KEY | base64 -d)