Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
AngularJS Deployment Essentials

You're reading from   AngularJS Deployment Essentials

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781783983582
Length 148 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Zachariah Moreno Zachariah Moreno
Author Profile Icon Zachariah Moreno
Zachariah Moreno
Arrow right icon
View More author details
Toc

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 at http://goo.gl/qgFyg4) on the tutorial site tutsplus.com (which was formerly nettuts.com). We will explore configuring your remote Git repository for deployment whenever you complete a push to the remote master...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image