Deploy without testing on master branch

We are using git-flow, and by our pattern of use, master is pristine and only used to push releases. It is untouched by humans and only integrated by the circleci build.

If develop test succeeds, we git flow release which merges to master. Given this scenario, when master sees an update, it currently re-runs tests then runs the deployment.

Re-running tests on master significantly adds to our time to deploy.

Can I skip tests on the master branch and only run the deployment?

2 Likes

Hello @rosskevin,

We suggest you to use the “ignore” config for specifying branches, if you don’t want to build on master branch.

Best,
Zak

@zzak - are saying that ignore: master is still going to run a deployment stage on a push to master?