Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why is that better than generating static locally? Seems like a lot of fiddling for no benefit.


It’s fully automated. I do a commit and push from any machine that I have cloned the repo to and it gets published automatically.

Now I don’t need to download Hugo, remember the Hugo commands, remember my web server login details, etc. I think it’s a lot less fiddling as all I need to remember now is how to add a file to a git repo to get a post published.


Don't you miss out on Hugo's archetypes doing it that way, or at least need the templates locally? Also you shouldn't need your web server login details for rsync... Hey whatever works, it just seems like substantially more work to me.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: