O'Reilly logo

AngularJS Deployment Essentials by Zachariah Moreno

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Automating deployment with GitHub and SSH

GitHub's features go well beyond distributed version control in the cloud, which is amazing in itself. In the settings for each repository hosted on GitHub, there is a section entitled "Service Hooks". This provides an interface to automate a reaction every time a specified action takes place. For instance, you can effectively tell GitHub whenever I push to my remote master repository (the action) to do "something" (the reaction). In our case, that "something" will be to run a specific .PHP file on your remote Apache server that initiates a git pull from the same repository. The developer and blogger, Jeffrey Way, first documented this technique in an article and video he published (which you can access ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required