I've setup my bitbucket pipelines yaml to deploy my application to dev instance in AWS using code deploy. I have staging and prod environments also. How do I configure my pipeline for the same app so that I can chose which environment to deploy to after a commit?
Hi @gbrown .
You need to configure a section for all branch-specific build pipelines.
for instance, for prod, have a specific master branch pipeline section and for staging, you'd setup develop branch pipeline section.
For more info, check this out. https://www.atlassian.com/continuous-delivery/tutorials/continuous-delivery-tutorial
https://confluence.atlassian.com/bitbucket/configure-bitbucket-pipelines-yml-792298910.html#Configurebitbucket-pipelines.yml-ci_branchesbranches(optional)
Thanks @ABEL MASILA I found the solution after I posted the question but did not know how to remove my question. Thank you for the tutorial link. I am new to this and it is very helpful.
You're welcome.
It looks like you're new here. Sign in or register to get started.