Setup automated server deployment using only Git hooks | Programylis

Published: 07 November 2020
on channel: 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


On this page of the site you can watch the video online Setup automated server deployment using only Git hooks | Programylis with a duration of hours minute second in good quality, which was uploaded by the user Programylis 07 November 2020, share the link with friends and acquaintances, this video has already been watched 4,324 times on youtube and it was liked by 77 viewers. Enjoy your viewing!