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)