Private repo on Github

Hello all :slight_smile:,
A small Github question if you may.
I have a repo on Github with a plugin for Discourse. This repo is private.
I would like to insert it into the yml file but because the repo is private, it can’t clone it.
I’m familiar with the workaround of adding the user-name and the password but I prefer not to do it. I was wondering if it’s possible to use the SSH keys (and not the password) that I already setup for the theme, or new ones.
Have someone faced with similar situation?
Thank you :slight_smile:

2 Likes

Hello,

Check out the Installing plugins hosted in a private repo section at the bottom of the Install Plugins in Discourse topic. Follow the instructions there to be able to do this via an OAuth token instead of SSH keys.

8 Likes