Question

Is it posslible to deploy a github repo that is shared with me?

I want to deploy a github Repository of which i am not the owner but a contributer but the repository is not available. Is there a Way to deploy such repos?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

What I would personally do is to just fork the repository and then deploy your own fork, that way you would not need to have write access to the upstream repository.

Regards,

Bobby

Hello there,

I believe that you can achieve this but you’ll also need to transfer the repository to another owner afterwards. Repositories owned by user accounts have one owner. Ownership permissions can’t be shared with another user account.

https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/permission-levels-for-a-user-account-repository

You can also check Github’s docs for transferring a repo to another account:

https://docs.github.com/en/repositories/creating-and-managing-repositories/transferring-a-repository

Regards, Alex