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
  • Generate the site
hugo
  • Commit
git add .
git commit -av

git checkout master
cp -r public/* .
git add .
git commit -am "Regenerate Site"

git push --all