Run multiple deployments

So I believe it is not possible to run both deployments while one build? Is there a reason for this?

deployment:
  first-master:
   branch: master
   commands: 
      - echo first
  second-master:
   branch: master
   commands: 
      - echo second
1 Like

I believe what you’re looking for is this:

deployment:
  first-master:
    branch: master
    commands: 
      - echo first
      - echo second

You can only match a branch or tag once.

Yes you are right, need to use tags