I try to launch circleci on all the github branches of my project , except one, without success.
What I expect : don’t run circleci on my “gh-pages” branch. In all others cases, run circleci.
What I tried : filters with “ignore” or “only” value + read all the topics about filters errors and tried every responses.
My conf file is very simple, I really don’t understand why it does not work :
version: 2.1 workflows: version: 2 build-and-test: jobs: - build-and-test: filters: branches: ignore: - gh-pages jobs: build-and-test: docker: - image: circleci/node:12.14.0-browsers steps: - checkout - run: npm ci - run: npm test
I have tried many other variants, for example :
- build-and-test: filters: branches: ignore: gh-pages only: - dev - /tech-.*/ - /feature-.*/
But every times I got my circleci running after updating my “gh-pages” branch …
How to make the filters work as expected?
If it can help, here is my project link : https://github.com/1024pix/pix-ui