Support Forums

Deploying hugo on Netlify

I am struggling with this hugo theme deplyoiment could any one help ?

Here is one the lines about Deploy log:

Failed to clone ‘themes/hugo-theme-cleanwhite’. Retry scheduled
Cloning into ‘/opt/build/repo/themes/hugo-theme-cleanwhite’…

Hi @Mandjo

Could you share the link to the latest deploy log, and the link to the repository you are deploying?

1 Like

Hi @coelmay ,

thank you for your reply:

Here are he latest deploy log, and the repo :

Netlify App

Thanks @Mandjo

I see the error is

No url found for submodule path 'themes/hugo-theme-cleanwhite' in .gitmodules

Looking at the .gitmodules file in the repository, the lines relating to the theme are commented out (line starts with a #). If you do not wish to use the theme as a submodule, you will need to clone it to your repository.

thank you @coelmay , it’s working.