How to use bitbucket as a central repo?

Fidelis Inaku February 9, 2018

I have been trying to achieve this; 

Develop locally and 1.) commit to my local repository - 2.) push my local repository to my Bitbucket server - and 3.) have those pushes available on my production server (Bluehost) via an automatic pull made by my Production server.

I will appreciate any help as i am new to using bitbucket.

Thanks.

1 answer

0 votes
devpartisan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 12, 2018

I wrote a blog post about Git-based deployment that may answer your question. If not with a webhook, as my post suggests, then check some of the links to alternatives. Most importantly, consider this function is often fulfilled by a CI/CD tool, like Bamboo, especially when there are other steps to take like running automated tests. The post only shows Bitbucket Cloud's webhook UI, but you can also trigger webhooks from Bitbucket Server.

Fidelis Inaku February 13, 2018

Thanks Ian for the links.

I was able to set them up using this tutorial and your webhook from bitbucket server link, although setup was looking different. 

Thanks again.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events