Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ishantsagar opened this issue Mar 3, 2021 · 1 comment

Comments

@ishantsagar
Copy link

ishantsagar commented Mar 3, 2021

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants