How to disable triggered builds on a specific branch that does not have config.yml

My repo has its source in the “source” branch and deploys to the “master” branch using circleci. The master branch contains the built website that is displayed using GitHub pages. This all works good, except that every time the CI deploys to master a new build is triggered (and fails) in circleci.

Here is my yml file: file.

I am guessing if I add a copy of my yml to the root of the master branch while deploying, that will prevent the trigger since I have workflow triggers set up to only build the source branch.

Is there any other way so solve this problem without having to include the yml file in the master branch?

1 Like

Fixed this by including [ci skip] in commit messages to master branch.