There is my workflows:
workflows:
version: 2
build-test-deploy:
jobs:
- versions
- install
- test:
requires:
- install
- build:
requires:
- install
- deploy-pre:
requires:
- build
- test
filters:
tags:
only: /v.*/
- deploy-normal:
requires:
- deploy-pre
filters:
tags:
only: /v(\d)+(\.(\d)+)+/
- deploy-test:
requires:
- deploy-pre
filters:
tags:
only: /(v(\d)+(\.(\d)+)+)-(alpha|beta)/
The last 3 jobs are always excute
i try to add this code in filters
branchs:
ignore: /.*/
But when I add a tag in Github, it won’t execute too
Anyone meet the same problem?
How can I filter the job by tags?