title: CDK pipeline for multiple branches at the same time
body: <p>I would like to have the CI-CD pipeline deployed for the develop and master branch at all times. Pipeline for feature branches to be created manually developers as and when needed.</p>
  <p>I am using the pipeline from <a href="https://github.com/awslabs/aws-simple-cicd" rel="noreferrer">https://github.com/awslabs/aws-simple-cicd</a></p>
  <p>In project-config.json , we have :</p>
  <pre><code>&quot;Backend&quot;: [
    {
      &quot;pipelineName&quot;: &quot;backend&quot;,
      &quot;ccRepoName&quot;: &quot;backend&quot;,
      &quot;branch&quot;: &quot;master&quot;,
      &quot;type&quot;: &quot;BitBucket&quot;,
      &quot;cron&quot;: &quot;&quot;
    }
  ],
  </code></pre>
  <p>Step 1. Pipeline deployed for branch master</p>
  <p>Step 2. Edit project-config.json and change branch name:</p>
  <pre><code> &quot;Backend&quot;: [
        {
          &quot;pipelineName&quot;: &quot;backend&quot;,
          &quot;ccRepoName&quot;: &quot;backend&quot;,
          &quot;branch&quot;: &quot;develop&quot;,
          &quot;type&quot;: &quot;BitBucket&quot;,
          &quot;cron&quot;: &quot;&quot;
        }
      ],
  </code></pre>
  <p>Step 3. Pipeline deployed for develop branch</p>
  <p>At this stage, it deletes the pipeline for the master branch and deploys it for the develop branch. How can we keep the pipeline for multiple branches at the same time?</p>