Is there a way to scope deployment step to all environments EXCEPT one or two specific ones?

Subject tells it all - I need to run particular deployment step in all environments except Production. How to configure that?

Thank you!
Konstantin

Hi Konstantin,

Thanks for reaching out. This isn’t currently possible, but there’s a uservoice suggestion open for it that you can vote: https://octopusdeploy.uservoice.com/forums/170787-general/suggestions/5731857-environment-and-machine-conditions-should-be-inclu

That suggestions also includes being able to exclude machines when triggering a deployment, which was introduced in 3.7.9 yesterday: https://github.com/OctopusDeploy/Issues/issues/2854 . With this I’m trying to say that while we don’t have immediate plans to implement this, it is entirely possible that it might happen one day, and you can help make it happen by voting that suggestion.

Best regards,
Dalmiro