2

I'm using bitbucket to host my git repos. I develop locally and push to bitbucket. I have a public testing server which I would like to keep synced with the repo. Is there a way I can use some kind of hook to tell the remove server to pull each time there is a new push? I'd rather not run a cron to pull every 5 minutes.

1 Answer 1

3

This documentation discusses how to generate automatic notifications to other services when you update your bitbucket hosted repository.

It appears to include a generic POST service which you could use to ping your own webserver to trigger an update.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.