It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Way to deploy to another branch using pipelines

So, i have a project that uses React and Python, it has 3 branches (Development, Master and Production). I want to make that the Production branch has the builded version (all the virtualenv, react builded, etc).
I want to know if the bitbucket pipeline can process this information when commiting to Master and push to production.

Thanks in advance.

1 answer

0 votes
davina Atlassian Team Jun 25, 2019

Hi @antonio_silva_bludata 

If I'm interpreting your question correctly, yes you can perform git operations in your pipeline. For example, a pipeline that runs on master can push to the production branch, assuming you don't have branch permissions or need PRs set up and it should just be automated.

Hope this helps, feel free to dump an example bitbucket-pipelines.yml here.

Davina

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,055 views 0 3
Read article

Community Events

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

Events near you