One way is to define a POST hook on Bitbucket which will ask your node to execute a pull from Bitbucket repo.
Making bitbucket push my changes to another repo
Question
I have a small node at openshift, which only accepts git pushes. For the sake of having a backup I use bitbucket to store all my projects. I was wondering if it would be possible that when I push my changes to bitbucket, it will automatically push those changes to openshift. This would save me some time to manually push to both locations.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow