Private git submodules

Deployments: There are open issues regarding deployments with git submodules to private repos - they don't work. For those stuck with private submodules, can something be done that maintains the nice work already done to keep attack surfaces limited by having short lived deploy keys?
2 Replies
Light
Light5d ago
Is this solved?
Light
Light5d ago
Just solved it. https://stackoverflow.com/a/78291745 Use ssh URL in .gitsubmodule and give permissions to all the repos to Cloudlflare Github app.
Stack Overflow
Deploying repos with submodules using cloudflare pages
I'm deploying a project using cloudflare pages, and can see in the logs the initial git clone is working, however when the submodules are being pulled down the following error is thrown fatal: coul...

Did you find this page helpful?