在bitrise中的CI/CD工作流期间,使用单个SSH密钥访问2个不同的私有git Repo
我有2个回购协议,我正在使用bitrise的CI/CD管道中使用。使用一个git repo设置bitrise非常简单和直接,它构建了我的第一个repo fine post,我需要将从step1创建的.xcframework文件推送到另一个私有repo中,在这样做的过程中,我得到以下错误,这是因为我的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.
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帐户中