【问题标题】:Azure ARM templates deployment Github integration (with deploy keys)Azure ARM 模板部署 Github 集成(使用部署密钥)
【发布时间】:2017-12-19 06:05:35
【问题描述】:

我想为在 Github 上有源代码的 Web 应用程序进行 ARM 模板部署。到目前为止,经过相当多的试验和错误,我能够使用以下格式:

"apiVersion": "2015-08-01", "name": "web", "type": "sourcecontrols", "dependsOn": [ "[resourceId('Microsoft.Web/Sites', parameters('siteName'))]" ], "properties": { "RepoUrl": "https://github.com/user/repo.git", "branch": "dev", "IsManualIntegration": true } }

这是手动集成。如果我之前使用过 Github 并授权过 Azure,它似乎可以工作。有没有办法自动设置和同步 Github repo?有没有办法使用部署密钥?

【问题讨论】:

    标签: azure github azure-web-app-service


    【解决方案1】:

    是的,可以,但不能使用 ARM 模板。按照步骤here.

    但是,如果您在订阅中一次设置了 Github,则可以将此手动集成用于此订阅中的所有部署,并且它将正常工作,因此无需担心。

    【讨论】:

      猜你喜欢
      • 2019-02-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-03-31
      • 2012-05-14
      • 1970-01-01
      相关资源
      最近更新 更多