1

I am using standard GitLab runner.

I need to determinate updates of master branch and updates of development branch. Beacause I want to copy master branch to production server and dev branch to test-server.

But I have only one .gitlab-ci.yml file which starting after 'git push'.

If I am register second runner. it is also controller by .gitlab-ci.yml

What to do?

Artem Ganzha
  • 11
  • 1
  • 4

1 Answers1

0

In gitlab ci config file, we have the only option allowing to trigger a job only from a specified branch.

Doc at docs.gitlab.com/ce/ci/yaml/README.html#only-and-except

Hui Wang
  • 1,923
  • 3
  • 19
  • 27