Domanda

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.

È stato utile?

Soluzione

One way is to define a POST hook on Bitbucket which will ask your node to execute a pull from Bitbucket repo.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top