I am trying to configure two jobs, one of which should always run, and one of which should only run for tagged commits.
This is my current config:
workflows: version: 2 test-and-deploy: jobs: - deps-and-test: filters: tags: only: /.*/ - build-and-deploy: requires: - deps-and-test filters: tags: only: /^v.*/ } branches: ignore: /.*/
deps-and-test always runs (good), but
build-and-deploy never runs. Example: https://circleci.com/workflow-run/24104d80-5d0b-4c39-87e3-11b0210c16a7
I added the
branches ignore clause, because without that,
build-and-deploy always runs.
(this is a public repo, https://github.com/appliedsciencestudio/js-interop/blob/master/.circleci/config.yml)