【问题标题】:Is there any Rest Api which can Create Deployment Center at Azure portal in Web App?是否有任何 Rest Api 可以在 Web App 的 Azure 门户中创建部署中心?
【发布时间】:2019-06-07 07:56:51
【问题描述】:

我正在尝试通过microsoft azure的Rest Api创建资源组、WebApp计划服务、Webapp, 我从微软 Azure 的 RestApi 创建了上述服务, 但我找不到,如何创建部署中心。

没有得到任何东西。

【问题讨论】:

  • 你要配置哪个源?
  • 只想通过代码或API创建部署中心,以便通过Azure DevOps自动化CI/CD。
  • 当你在 azure 上正确创建 webapp 后,部署中心会在 azure 门户中消失。
  • @JoyWang 想要将 Github 存储库配置到 Azure 门户的部署中心。

标签: azure azure-web-app-service


【解决方案1】:

部署中心集中概述了您的应用支持的所有部署方法,并提供了配置持续集成/持续部署的指导体验。它是 Azure App Service 下的一项服务。

在门户中转到您的 Azure 应用页面,您将能够看到部署中心,单击它然后选择 GitHub 并进行配置。

别忘了转到 Github 设置页面授权 OAuth 应用程序。更多详情可以参考官方教程:Deploy continuously from GitHub

目前,没有 REST api 来配置持续部署。如果您正在寻找其他配置持续部署的方法,您可以参考持续部署wiki page,还有其他实现方式。

【讨论】:

    猜你喜欢
    • 2023-02-22
    • 2020-11-25
    • 1970-01-01
    • 1970-01-01
    • 2019-10-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多