Bitbucket Pipeline : Is there any way to skip the deploy step to the Dev environment & directly deploy to Stage / prod environment using manual triggers
Like in Gitlab pipeline, we can directly deploy to which ever environment we like dev/stage/prod etc.. by skipping the deploy step to Dev/stage using manual triggers after the build is succeeded.
Below is my pipeline, here i directly want to deploy to stage after build and i want to skip the Dev deploy step.
image: node:14.17.1
pipelines:
branches:
develop:
- step:
name: build
script:
- ......
artifacts:
- .....
- step:
name: DEV-Deploy
deployment: Dev
trigger: manual
script:
- .....
- step:
name: STAGE-Deploy
deployment: Stage
trigger: manual
script:
- .....
Please advise..
Thanks