Setup automated server deployment using only Git hooks | Programylis

Pubblicato il: 07 novembre 2020
sul canale di: 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


In questa pagina del sito puoi guardare il video online Setup automated server deployment using only Git hooks | Programylis della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Programylis 07 novembre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,324 volte e gli è piaciuto 77 spettatori. Buona visione!