Tools and services used

  • Hugo
  • Hugo-PaperMod
  • GitHub
  • Cloudflare pages

Repository setup

  1. Create a new GitHub repository: https://github.com/new
  2. Clone it locally
    git clone [email protected]:<username>/<repo-name>
    
  3. Pick a hugo theme you like: https://themes.gohugo.io/. I chose Hugo-PaperMod.
  4. Setup the theme in the repo and push it to GitHub.

Cloudflare setup

  1. Go to your CloudFlare dashboard.
  2. Go to Workers & Pages > Pages > Connect to Git
  3. Auth via GitHub and select the repo you created earlier.
  4. Select the Hugo framework from the provided list and click on create.

This should create a Pages deployment connected with your repository, with any new commits being deployed to the site automatically.