大家好
,
如果方便的话,想请教一个关于 GitHub 的小问题。
我在 GitHub 上有一个包含 Discourse 插件的仓库,该仓库是私有的。
我想将其插入到 yml 文件中,但由于仓库是私有的,无法进行克隆。
我知道可以通过添加用户名和密码的变通方法,但我更倾向于不使用这种方式。我想请问,是否可以使用我已经在主题中设置好的 SSH 密钥(而不是密码),或者使用新的密钥?
有人遇到过类似的情况吗?
谢谢 ![]()
2 个赞
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 个赞