Код: Выделить всё
stages:
- pull
- optimize
variables:
GIT_SSL_NO_VERIFY: "1"
before_script:
- git config --global http.sslVerify false
- git config --global credential.helper store
- echo "https://${CI_REPOSITORY_USER}:${CI_REPOSITORY_PASSWORD}@gitlab.com" > ~/.git-credentials
pull_job:
stage: pull
script:
- echo "Pulling the project on the server through git"
- git pull origin master
only:
- master
Код: Выделить всё
php artisan optimize
Код: Выделить всё
optimize_job:
stage: optimize
script:
- echo "Clearing the cache by optimize command.."
- php artisan optimize
.gitlab-ci.yml возвращает /usr/bin/bash: строка 156: php : ошибка «команда не найдена»
Есть идеи, как это исправить?
Подробнее здесь: https://stackoverflow.com/questions/787 ... -gitlab-ci
Мобильная версия