Setup automated server deployment using only Git hooks | Programylis

Veröffentlicht am: 07 November 2020
auf dem Kanal: Programylis
4,324
77

Tired of the manual deployment process for every update to your code? Now automate the boring deployment process using just Git hooks. Traditionally the deployment process includes - SSH into server, upload new version using ftp or pulling from version control, then build the app and then restart the server. With Git hooks, and git remote you just have to use one command
'git push production master'
to take care of all the deployment process. Learn how to automate this stuff from this video taking advantage of git remote, bare repository and git post-receive hook.


Code - https://github.com/bhumijgupta/youtub...
Suggestion/Feedback - https://github.com/bhumijgupta/youtub...


Follow me on:-
Github: https://github.com/bhumijgupta/
Twitter:   / bhumijgupta  

Timestamp:-
00:13 Prerequisite and setup
01:08 Setting up SSH config
03:06 Setting up bare repository
07:08 What is git directory and working tree
10:15 Setting post-receive hook
12:31 Final testing


----------------------------------------------------------------------
Credits:-
Intro - Adobe Spark
Special thanks to our video editor - Mayank Jain (mojo), without whom this video wouldn't have been possible


Auf dieser Seite können Sie das Online-Video Setup automated server deployment using only Git hooks | Programylis mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Programylis 07 November 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,324 Mal angesehen und es wurde von 77 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!