How to deploy in GitLab pages?
- Set up CI/CD adding a file
.gitlab-ci.ymlwith Hugo template. Change the master branch to main in the template.
| |
Modify the baseurl parameter with this structure
baseURL = "https://<gitlab-user>.gitlab.io/<project-name>/".Enable the Pages Access Control for everyone visibility. Navigate to your project’s Settings > General and expand Visibility, project features, permissions > Pages > Everyone.