A few days ago codeberg, my favorite Gitea instance, started experimenting with Static page hosting. I’ve started using it, but I kinda like using a static site generator. Here is a guide ~that I totaly didn’t steal from the hugo docs.~
Step one: make two git repos make two git repositories. One called pages, the other called whatever you want. Pages will host the website, and the other repo will hold the uncompiled hugo filles.