I have a long step that I would like to trigger automatically from the `staging` and `dev` branch, but manually in prod.
I have this:
branches:
'{dev,staging,prod}':
- step:
name: Ship It!
trigger: manual
I was wondering if I could do something like this:
branches:
'{dev,staging,prod}':
- step:
name: Ship It!
# pseudocode
trigger: ${ $BITBUCKET_BRANCH=="prod" ? "manual" : "automatic" }
... or is there a better way to do this?