Shippable / support

Shippable SaaS customers can report issues and feature requests in this repository
101 stars 28 forks source link

Unable to use subscription deploy key for submodule, as it is already used in another repo #5214

Open ishantsagar opened 3 years ago

ishantsagar commented 3 years ago

I want to fetch private submodule in one of my repo. I followed this: http://docs.shippable.com/ci/git-submodules

The problem is Github deploy key should be different for every repo, now when I use shippable subscription deploy key in my submodule repo, Github says: Key is already in use

What should I do now, to fetch my private submodule?

a-murphy commented 3 years ago

Since GitHub only allows a key to be added once, the easiest solution is usually to add the key to an account that has access to both repositories. If that won't work, you can add your own SSH key, turn off submodules, and fetch the submodule in your script section.