Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

发布应用时,如何发布私有仓库中的应用? #5

Open
myncepu opened this issue Mar 3, 2020 · 0 comments
Open

发布应用时,如何发布私有仓库中的应用? #5

myncepu opened this issue Mar 3, 2020 · 0 comments

Comments

@myncepu
Copy link

myncepu commented Mar 3, 2020

发布应用页面无法发布私有仓库应用,目前绕过方法为:登陆 PAI 云主机

  • 使用 ssh-keygen 生成 ssh 密钥对
ssh-keygen -t rsa 
  • 将生成的密钥对添加到 github ssh key 中

  • 登陆云主机 clone 一个自己的私有项目(对,还需要自己登陆 clone 一个项目,因为第一次从 github.com clone 仓库时会询问是否将 github.com 加到 known hosts 中)

  • 之后再重新发布时可以在 发布仓库链接中填写自己的私有仓库链接了

PS. 目前好像不支持 git commit 之后自动发布

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

No branches or pull requests

1 participant