3 ms·
Err, what about rsync? My blog is versioned with git, but compiled with USSM¹. I don't want to version the generated html code, so I deploy it with a one line
by loup-vaillant 14y ago
Err, what about rsync? My blog is versioned with git, but compiled with USSM¹. I don't want to version the generated html code, so I deploy it with a one line shell script that just calls rsync through ssh. Simple, and fast.
So in my case, rsync looks better than git at deployment. I can't imagine a scenario where the reverse is true. Does someone have a counterexample?
[1] My home-made Jekyll clone: http://loup-vaillant.fr/projects/ussm/ http://loup-vaillant.fr/projects/ussm/
- ZoFreX 14y agoAn alternative, if you do want to use VCS for deployment, is rather than versioning the compiled HTML, create a hook that compiles it. My website is stored in mercurial currently, and when I push to the server it runs bundle and compiles the site.