How can I setup Git pull to Ubuntu server from Push to Bitbucket
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 https://github.com/antriver/auto-git-pull 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?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.