Setup automated server deployment using only Git hooks | Programylis

Publicado el: 07 noviembre 2020
en el canal de: 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


En esta página del sitio puede ver el video en línea Setup automated server deployment using only Git hooks | Programylis de Duración hora minuto segunda en buena calidad , que subió el usuario Programylis 07 noviembre 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 4,324 veces y le gustó 77 a los espectadores. Disfruta viendo!