I created a similar post a while ago, might be interesting for some who want to use GitLab instead of GitHub + Netlify:
https://tkainrad.dev/posts/using-hugo-gitlab-pages-and-cloud...