This is the development repository for my blog at 123k.pl. I followed the instructions for github user-pages and added the actual target-repo (efwe.github.io) as a git sub-module. This is where the hugo renders all the stuff to and later I issue another commit to push the actual homepage.
So while this works the whole process is a little bit awkward - I produce 2 similiar commits. This all sounds like it would be a good idea to use Github Actions for this.