Answer the question
In order to leave comments, you need to log in
GitLab-CI deploy one branch to two servers possible?
PHP project.
There is a local git repository with one master branch.
You need to deploy the content first to the test server, then the same branch to the production server.
The Gitlab deployment is organized using the .gitlab-ci.yml file (it must contain an SSH connection). The file is placed in the repository.
But how to organize the deployment of one branch to two servers?
I know about jenkins and similar services, for a number of reasons we cannot use it, there is only a GitLab server.
We cannot make two branches in the repository either. Customer requirement.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question