CDK pipelines seems to only work, by default, with one branch. Am I missing something or is there a way to:
- have a dev branch to deploy to the Dev account/ env
- test branch deploy to Test account/env.
- jons-cool-feature-branch to X account/env etc
Ideally we do not want to have to push everything to the master branch to deploy to dev / test, so that we can keep the master branch clean, tidy, and stable.
I have thought about having multiple pipelines, one for dev, one for test, and one for master, this would solve the issue, but doesn’t feel like the cleanest solution.
Are there any recommended patterns?