Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在bitrise中的CI/CD工作流期间,使用单个SSH密钥访问2个不同的私有git Repo_Git_Github_Continuous Integration_Bitrise - Fatal编程技术网

在bitrise中的CI/CD工作流期间,使用单个SSH密钥访问2个不同的私有git Repo

在bitrise中的CI/CD工作流期间,使用单个SSH密钥访问2个不同的私有git Repo,git,github,continuous-integration,bitrise,Git,Github,Continuous Integration,Bitrise,我有2个回购协议,我正在使用bitrise的CI/CD管道中使用。使用一个git repo设置bitrise非常简单和直接,它构建了我的第一个repo fine post,我需要将从step1创建的.xcframework文件推送到另一个私有repo中,在这样做的过程中,我得到以下错误,这是因为我的git没有经过身份验证,无法使用不同的repo 错误: ERROR: The key you are authenticating with has been marked as read only.

我有2个回购协议,我正在使用bitrise的CI/CD管道中使用。使用一个git repo设置bitrise非常简单和直接,它构建了我的第一个repo fine post,我需要将从step1创建的.xcframework文件推送到另一个私有repo中,在这样做的过程中,我得到以下错误,这是因为我的git没有经过身份验证,无法使用不同的repo

错误:

ERROR: The key you are authenticating with has been marked as read only.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
任何解决方案或方法,请帮助


T

您可以尝试使用与发生故障时相同的方法。然后,您不会将SSH密钥作为部署密钥添加到项目中,而是将其作为SSH添加到您的计算机或github帐户中。

您可以尝试使用与部署密钥相同的方法。然后,您不会将SSH密钥作为部署密钥添加到项目中,而是将其作为SSH添加到您的计算机或github帐户中