Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Way to deploy to another branch using pipelines

antonio_silva_bludata May 21, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
June 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
AUG Leaders

Atlassian Community Events