Git

Hugo Site Deployment

Description of the setup I use for deployment and hosting my blog on github.

#Programming #Blog #Webauthoring #Hugo #Git

When I started publishing the blog I was using the git subtree approach, as suggested in the hugo documentation. However, I tend to mess up my setup when I amend or rebase when working with the local site. Since I like to keep things simple, I have switched to keeping the generated site in a separate git repo, which I deploy by manually pushing to github pages. The benefit of this is that I get to review the changes manually before deploying to the live site.