Answer the question
In order to leave comments, you need to log in
GitLab - Is it correct to use Runners for deployment?
Setting up CI for a project in gitlab (self-hosted if that matters).
At the moment there are stages:
stages:
- test
- deploy
deploy:
stage: deploy
environment: deploy
script:
- php phpunit.phar
- mkdir -p /home/my_super_site
- cp . /home/my_super_site -r -f
- chown www-data:www-data /home/my_super_site -R
Answer the question
In order to leave comments, you need to log in
I answer my own question: in general, there are no problems with this approach. Perhaps so far they have not arisen, but I have not seen any mention of possible problems.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question