I would like to export an ipa for appstore and an adhoc in one build

Not a problem.

E.g. a step sequence like:

  • Archive 1
  • Deploy 1
  • Archive 2
  • Deploy 2

works. There’s no reason why you could not add more than one Archive or Deploy steps :slight_smile:

It’s also possible to alias the outputs: Monthly release of Bitrise CLI tools and summary of updates (May, 2017) - CLI v1.6.1 (2. Step Output Aliases)