How can I setup Git pull to Ubuntu server from Push to Bitbucket

August 1, 2017 97 views
Deployment PHP Git Ubuntu

I'm looking for a solution like "Git hooks" but my setup is that I'm using Bitbucket as central repository and I'm trying to use webhooks with by posting to a route in Php laravel where I have tried various pull scripts like this from github without any luck.

I'm using digital ocean droplet ubuntu server with nginx Php Laravel and have configured SSH access from server to bitbucket.

Does anyone here know a solution for my problem?

Be the first one to answer this question.