Hello,
I am trying to trigger a job I have defined in .gitlab-ci.yml in the following way:
- First option - to run only in develop branch when changes are made to the files in “help_docs” directory or when changes are made in gitlab-ci.yml file itself
- Second option - run according to the schedule I have set
This is my syntax, which appears correct. But job is not starting - for example when editing .gitlab-ci.yml, pipeline doesn’t start.
Check_Help_Docs:
only:
refs:
- develop
- schedules
changes:
- help_docs/*
- gitlab-ci.yml
I was trying to search the forum with similar cases, but couldn’t find similar. Thank you for your help!