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
На этой странице сайта вы можете посмотреть видео онлайн Setup automated server deployment using only Git hooks | Programylis длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Programylis 07 Ноябрь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 4,324 раз и оно понравилось 77 зрителям. Приятного просмотра!