How to deploy to multiple subsections with the same branch that use different AWS deployment_group's


#1

Hey there, I’m using AWS Code Deploy for CI. I have my circle.yml file like this:

deployment:
  featureA:
    branch: master
    codedeploy:
      myApp:
        deployment_group: featureA-group
  featureB:
    branch: master
    codedeploy:
      myApp:
        deployment_group: featureB-group

It appears that I can’t deploy different subsections if they point to the same branch. If I deploy with the circle.yml file like this, only featureA is deployed, but if I swap the order, then only featureB is deployed. I expect both to be deployed. Is there a way to do this?

As described here it seems like I should be able to, the only difference between my example and the example in the docs is that the docs are using separate branches per subsection.


#2