Test git submodules in repository (Hugo theme could be a git submodule).
Activate relative URL in Hugo settings.
Activate pages on GitHub repository.
Set GitHub pages branch to docs.
Create GitHub Token.
Add token as secret into repository.
Activate auto build on push -> see “Tools > GitHub > Actions (workflow)”.