You can use something like PHP Deployer (https://deployer.org/) for the actual deploy process and GitHub Webhooks (https://developer.github.com/v3/repos/hooks/#receiving-webhooks) to let the server know when to deploy again.
Feb 2, 2017
6
Level 1
How to deploy Laravel application from Github to DigitalOcean
I have a repo on Github where I pushing my code related to an application on Laravel 5.3.
How to deploy from Github to DigitalOcean automatically?
I made research before asking this question, these what I found:
https://www.digitalocean.com/community/questions/configuring-deploy-hooks-from-github
this information didn't actually help.
Also, found https://deploybot.com/guides/deploy-a-laravel-app-to-digitalocean But I trying to set up deployment process directly, avoiding third-party sources, such as DeployBot.
I would be really grateful for a comprehensive explanation how to accomplish this.
Level 3
Please or to participate in this conversation.