GFargo
February 18, 2020, 9:58pm
1
Good Afternoon,
I was just looking through the instructions on how to setup a deploy for a site that has a private submodule as a dependency. After looking through other requests for SSH to add to Github it seems this is the typical approach
The site in question is trace-product-viewer
, if thereās any other information needed just let me know!
Last reviewed by Netlify Support on December 2022
The link from your repository to our service only authenticates us against the āmainā repo that you first configured, and wonāt automatically allow access to submodules even if they also belong to you and youāve granted Netlify access to those repositories.
In case your submodule is public, you can change the URI schema for it to start with https://, and it should work without further adjustment (so, in .gitmodules, change git@github.comā¦ to hā¦
fool
February 19, 2020, 4:59pm
2
Sure thing, here you go:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD4Ozs4zxu+nvuv/y7BE2CWmsWzU+oZQRJuvf7dlTDNEwDOu7xhwQVgjcwpQJHlQOUGIOb8xzK11SunKgVakqTaevUXu8S6kavr2sVUGATtI2Ne/Lk1NQLQOxmUem9yGyBh5SNZk0dzQjNdAOyUoov9U0kgXRA9JtDBVmKTL6TXz3x33zRHuHCpE3cYL6xnrrZuXlFwBPsvBPz5DzvE4r6+8a9/f9vu3rzK3GWcLqGdto2k59pdmohwZlfIh5laUwFJd5hW+zEPdFEBa/hWInnOzkmV6ppwO27fimxoXHl065j9yGHQ20jz8RtiMnfZqVhTXlBfIWWz9Av1d7gYB7wN
(This is safe to send publicly as at worst it allows other people to permit Netlify to read their repos; wonāt expose yours in any way :))
1 Like
GFargo
February 19, 2020, 5:43pm
3
Thank you! Working like a charm