Hi aborruso, it seems you’re facing the same problem i posted about few weeks ago: [SOLVED] Hugo on GitLab Pages showing 404 error
As reported on that post, I got it solved by adding a before_script section to .gitlab-ci.yml like this:
- git submodule init
- git submodule update --force
cheers
Fabio