Here’s how to publish new posts on this blog using Hugo.

apt install hugo
  • Setup the repo
git clone -b source git@github.com:brk3/brk3.github.io.git
  • Create a new post
hugo new post/how-to-hugo.md
<edit>
git commit -av
  • Republish the site
hugo
git checkout master
cp -r public/* .
git add .
git commit -am "Regenerate Site"
git push --all