After setting up the Hugo site locally the next step is to push it up to GitLab for hosting. For this to work we will:

  • Create a new project on GitLab.com
  • Push the code up
  • Setup a CI/CD pipeline to build the site and push it to pages
  • Configure GitLab pages to be open for everyone to view