Add clarification for deployment with submodules #154
Description
Describe the bug
"Bug report" is a bit of a misnomer, but the behavior is technically unexpected. For the most seamless usage of Next on Netlify, something that deploys on Vercel out-of-the-box should ideally work on Netlify as well after following the README instructions.
This Next site contains a private submodule, and despite adding a deploy key to the submodule repo as advised here, the deploy fails with could not read Username for 'https://github.com': No such device or address
unless (according to that thread) the git remote is SSH format.
It might be a good idea to add a note to the README about Deploy Keys and clarify that private repos will need to be configured with SSH remotes (e.g. git@github.com:owner/project.git
) in order to deploy properly.
Does anyone have any thoughts? I would be happy to send in a PR to add this section to the README after reviewing some feedback.
To Reproduce
Steps to reproduce:
- Deploy site with HTTPS remote submodule in it
- Get error
Versions
- Next:
latest
- next-on-netlify:
latest