【问题标题】:Continues deployment not working properly with github private repository继续部署无法与 github 私有存储库一起正常工作
【发布时间】:2016-02-28 16:37:32
【问题描述】:

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

【问题讨论】:

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


    【解决方案1】:

    当您尝试访问未公开且您无权访问的存储库时,Github 会返回 404 错误。
    确保您从 Azure 用于连接到 Github 的 github 用户有权访问 Github 存储库。
    使用 SSH 密钥连接到 Github 时,请确保 SSH 密钥链接到有权访问存储库的用户。

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-05-07
      • 1970-01-01
      • 1970-01-01
      • 2018-09-14
      • 2014-05-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多