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

关于在Github与Gitee之间同步代码的问题 #89

Closed
DoveBoy opened this issue Feb 22, 2021 · 3 comments
Closed

关于在Github与Gitee之间同步代码的问题 #89

DoveBoy opened this issue Feb 22, 2021 · 3 comments

Comments

@DoveBoy
Copy link

DoveBoy commented Feb 22, 2021

请教作者,如何使用Github Action拉取gitee私有库的代码同步到自己的仓库下?只有gitee私有库的id_rsa,具体应该怎么操作?盼望解答。

@yi-Xu-0100
Copy link
Contributor

#38 可能得等待支持

@LuzMasonj
Copy link

要实现这个 是不是还要再加个src_key src_token

@DoveBoy DoveBoy closed this as completed Feb 22, 2021
@Yikun
Copy link
Owner

Yikun commented Feb 22, 2021

@MisterGlasses 恩,是的。

src_token用来获取源列表,
src_key用来git clone

然后,git clone 的时候还需要用specific key去clone(因为默认的ssh key已经是dst_key了)。[1]

[1] https://stackoverflow.com/questions/4565700/how-to-specify-the-private-ssh-key-to-use-when-executing-shell-command-on-git

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

4 participants