I've successfully set up a manual (custom) deployment pipeline that is intended to be used for our production deployments. A little concerned that human error could result in this being run on a development branch instead of our production brance. Is there any way to setup a manual deployment that can only be run on a particular branch?
Yes, you can do it if you have a premium account.
You need to go to Settings >> Pipelines >> Deployment >> (selected deployment) and define what branches will be available to deploy it.
The following page is a reference for the feature you want:
I hope that helps.
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events