Error cloning submodules when deploying a git repo to Pages that _had_ submodules before
Hi, I'm trying to migrate from Vercel a bilingual (so 2 deployments) repo; i previously used github actions, that's why I had two other "deployment" repos (since you can't have multiple deployments of the same repo on gh pages)
when i tried creating a cloudflare pages deployment, it errored while trying to clone the submodules, that I had deleted. I deleted the .gitmodules file from the repo, deleted the cloudflare projects and recreated them, but it still tries to initialize submodules :/ is it a git clone depth thing, and I just have to push a certain number of commits before trying again?
the repo is https://github.com/gwennlbh/portfolio, and I'm basically doing 2 deployments, one with LANG=fr and another with LANG=en (when running the build command, it's a static astro site)
PS: i know #pages-help is the appropriate channel but I don't have access to it for some reason?
1 Reply
nevermind, i somehow had the submodules' directories still there. i noticed because Netlify shows the actual git output, which told me the path did not exist. cloudflare only tells you "failed to initliaze submodules" so it's less clear.
idk how to mark this as resolved, but you can consider it resolved