thanks a lot for your reply… in fact I’ve now noticed that on the GitLab repository there is nothing inside the /themes folder (!?!)
That’s strange because the theme I’m using (https://themes.gohugo.io/blank/) is present on my local installation of Hugo, but it seems that it’s not hooked when i do git add+commit+push
Searching on other discussions I’ve read that a possible cause may be related to the fact that the theme has been included as git submodule:
$ git submodule add https://github.com/Vimux/blank.git themes/blank
You can see in my .gitlab-ci.yml you see I have a before_script section, where I give the build process more directions.
You can read around for which commands you need to load submodules (I don’t use them often, so I don’t know them off hand), and add them to the before_script section. That should do it.
Yes, Even I could resolve the same issue i was facing by adding the
git submodule init - git submodule update --force
But i want to know that how this before scripts resolves the issue in detail so if any one can help me with this would help me understand hugo and gitlab pages a bit more