Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.
This repository was archived by the owner on May 10, 2021. It is now read-only.

Add clarification for deployment with submodules #154

Closed
@ctjlewis

Description

@ctjlewis

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:

  1. Deploy site with HTTPS remote submodule in it
  2. Get error

Versions

  • Next: latest
  • next-on-netlify: latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions