Azure 继续部署无法与 github 私有(private)存储库正常工作。我正在使用 Azure 部署按钮方法。
错误:响应状态代码并不表示成功:404(未找到)
自述文件.MD
<a href="https://azuredeploy.net/?repos...{repoURL}" target="_blank"><img src="http://azuredeploy.net/deployb..."/></a>
azuredeploy-parameters.json
"repoUrl":{
"value":"{repourl}.git"
}
azuredeploy.json
"repoURL": {
"type": "string",
"defaultValue": "{repoUrl}.git"
},
最佳答案
当您尝试访问非公开且不允许您访问的存储库时,Github 会响应 404 错误。
确保您从 Azure 用于连接到 Github 的 github 用户有权访问 Github 存储库。
使用 SSH key 连接到 Github 时,请确保 SSH key 链接到有权访问存储库的用户。
如果已经正确配置,请看一下这个问题:GitHub organization is not appearing in Continous Deployment page
关于azure - 继续部署无法与 github 私有(private)存储库正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35592463/