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>.
Tag: GitHub
Creating a repository on GitHub is a very simple process. Below are the specific steps.
# Open the Repository Creation Page Go to GitHub and log in to your account.
Click the “+” icon in the top-right corner of the homepage, and select “New repository” from the dropdown menu.
# Enter the Basic Information for the Repository Enter the repository owner, name, and description.
Owner
Select the account or organization that will own the repository.