Netlify clone repository without submodules


#1

I’m following Hugo’s “Host on Netlify” deployment guide, but cannot use installed theme. I have created site, git submoduled theme and pushed to guthub (https://github.com/izikeros/blog). Then I have created build on Netlify. During the Netlify build process there is basic git clone called without --recursive option. Is there any special step or buid configuration to enable recursive clone?


#2

You’re repo looks like it’s set up properly, @izu and I don’t think there’s anything special you need to do, as long as you have the submodule set up. I’d suggest starting fresh and/or contacting Netlify support.


#3

Make sure you have the .gitmodules file, and have it committed to git as well.

Nevermind, I see that you’ve already done that.


#4

I have copied theme config.toml as main config, used proper baseUrl with backslash and perhaps few other fixes - the problem was on my side: setting the page proper way. Thank you for checking out.