This post was made before Github add the Github Action feature. So, the way to deploy Hugo to Github pages is using external CI/DI like Travis and Gitlab CI. But now, we have CI/DI on Github, it called Github Action. I have try it, and it was awesome.
Why are you using Gitlab? Why not just deploy from Github?
This post was made before Github add the Github Action feature. So, the way to deploy Hugo to Github pages is using external CI/DI like Travis and Gitlab CI. But now, we have CI/DI on Github, it called Github Action. I have try it, and it was awesome.
You can check the repo: github.com/gohugoid/gohugoid-web (it's using Github Action)