I have gitlab-ci similar to this:
stages: - test - build - deploy tests: stage: test build: stage: build only: - master deployment: stage: deploy only: - master
Is there a way to allow at the same time:
- always build and deploy from master
- add manual action to build and deploy from any other branch ?
I know there is a
when: manual https://docs.gitlab.com/ee/ci/yaml/#when , but is it possible to combine it like
when: manual or master ?
Combining when and only is not a good solution, because it will stop automatic build/deploy from master