Cloudflare DevelopersCD
Cloudflare Developers4mo ago
2 replies
Gwenn

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?
Was this page helpful?