Deploy Keys won’t work if you have 2FA turned on for GitHub. You have to use a Personal Access Token.
I’m trying to bring in a Private Submodule into a Site and getting an error during the Build step of Deploy. The Site also has a Public Submodule as part of it’s Repo, and that builds fine. Here is the error:
4:43:39 AM: Error checking out submodules: Submodule 'NAME'
fatal: could not read Username for 'https://github.com': No such device or address
Besides moving the Private submodule out into it’s own site, what options do I have?
BTW, I’ve added the Deploy Key to the Submodule’s repo per the Docs, got error, moved Key to Site’s repo, got error, moved Key to my profile, got error. Deleted Site from Netlify, re-added and tried again with new Key, still error.
I’ve read this and the Docs too: