Using Hugo and GitHub Pages, you can easily publish a static website. Here, I will explain the steps.
# Create a Repository for the Website on GitHub Create a repository on GitHub with any name. For details, refer to this guide.
If you name the repository <username>.github.io, your website will be published at https://<username>.github.io/. If your account name contains uppercase letters, you need to convert them to lowercase.
If you create a repository with a different name, the URL for your website will be https://<username>.