Build error on Netlify

My site runs just fine locally w/ Zola serve --open. After pushing to GitHub Netlify attempts to build but fails with a fatal error:

No url found for submodule path 'themes/zola_easydocs_theme' in .gitmodules

There is no .gitmodule file anywhere, of course. And I did not add the theme using a git submodule command.

So, what am I missing?

Whats the output of zola build?

no errors, 16 pages, 6 sections, 92ms

zola serve --open pops up a local copy, everything looks fine there

Looks like you need to add this theme as a submodule zola_easydocs_theme/content/deployment/github-pages.md at 42af5af445c282886dda0808e6b71ddb903ea580 · codeandmedia/zola_easydocs_theme · GitHub

yeah, tried to add it like that once already - didn’t fix the error though. I’ll try again in the morning

OK. In the process of trying to fix this I started getting Netlify errors that they could not find the command ‘Zola build’ so I gave up and disconnected the repo and just dragged the /public folder onto the Build tab at Netlify. Site is up and working just fine.

It would be nice if I could still use GitHub as a mirror of my local site but then deploy ONLY the static /public folder to Netlify without any build step…

Post all your configs, this is a bit strange.

Dragging the folder directly into Netlify Deploy works for me. I do not need further troubleshooting. Thanks.