Deploying a hugo site to github pages

In this post we’ll see how to deploy a static site built with hugo to github pages. For this task, we’ll use a couple of bash scripts that will:

  • Commit changes and push them to github.
  • Generate thumbnails and low quality versions of the images used in the blog so it loads faster.