使用github私有存储库继续部署无法正常工作

时间:2016-02-24 03:04:50

标签: azure github continuous-deployment azure-git-deployment

Azure使用github私有存储库继续部署无法正常工作。我正在使用Azure部署按钮方法。

错误:响应状态代码未指示成功:404(未找到)

README.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"
},

1 个答案:

答案 0 :(得分:0)

当您尝试访问未公开的存储库并且您不允许访问它时,Github会回复404错误。
确保您使用Azure连接到Github的github用户可以访问Github存储库。
使用SSH密钥连接到Github时,请确保SSH密钥链接到有权访问存储库的用户。

如果已正确配置,请查看此问题:GitHub organization is not appearing in Continous Deployment page

相关问题