We are building and deploying to a test environment for each push to the master branch on GH. When we push to master with a tag matching ver-nnn.nnn, we want to build and deploy to prod. This was working fine in circle ci v 1.0 but we haven’t got it working after the upgrade to 2.0. Can you see anything obviously wrong with our yaml below?
workflows: version: 2 build-and-deploy: jobs: - build - deploy-dev: requires: - build filters: branches: only: master - deploy-prod: requires: - build filters: tags: only: /^ver-[0-9]+\.[0-9]+$/ branches: ignore: /.*/