Step 1. Install Hugo, Go, Dart Sass

Go to Hugo Installation and download the appropriate version for your OS and architecture.

I used the Winget Packet Manager to install the Hugo Extended Edition.

winget install Hugo.Hugo.Extended

Step 2. Set Up Github Pages with Hugo

Follow this guide to set up Github Pages for use with Hugo.

The Hugo theme Hello Friend NG is used. Configuration settings for the Hugo theme is also in the link.

Step 3. Set Up Github Action for Deployment

Instead of instructions from the above link, the following Github Action is set up to auto-deploy on push.

Step 4. Creating a New Post

Create a new md file in the directory /posts/___.md.

Step 5. Preview the Website Before Pushing

Do

hugo server