GitLab CI/CD
How to
Trigger only on specific branch
only:
refs:
- main
if rules used, only/except are not an option, used instead something like that
rules:
- if: '$CI_COMMIT_REF_NAME == "main"
Backlinks
only:
refs:
- main
if rules used, only/except are not an option, used instead something like that
rules:
- if: '$CI_COMMIT_REF_NAME == "main"