We have a VPS on linode, and code hosted on gitHub. How do we setup so when we push to gitHub, it also pushes automatically to our linode server. We are using PHP on the lin
Using any kind of webhook involves deploying a listener for that hook, and then triggering, from your listener server host, the action.
You can take a shortcut now (oct. 2018) with GitHub Actions (Oct. 2018).
GitHub Actions allows you to connect and share containers to run your software development workflow. Easily build, package, release, update, and deploy your project in any language—on GitHub or any external system—without having to run code yourself.
See Actions: pushing is only one of the possibilities behind Actions!
Workflows can be triggered by GitHub platform events (i.e. push, issue, release) and can run a sequence of serial or parallel actions in response. Combine and configure actions for the services you know and love built and maintained by the community.