【问题标题】:Is there a way to get the steps that visual studio uses in an azure function app deployment?有没有办法获得 Visual Studio 在 Azure Function App 部署中使用的步骤?
【发布时间】:2020-06-29 14:58:32
【问题描述】:

我在使用 devops CI/CD 管道部署 .NET 4.7.2 Azure Function App 时遇到问题。由于它延迟了操作,我只是作弊并通过右键单击 .proj 文件从 Visual Studio 进行部署,然后从“发布”选项进行部署。

有没有办法让我获得 Visual Studio 用来部署的步骤?

【问题讨论】:

  • Visual Studio 使用 MsDeploy 和 FTP 在 Azure 上部署工件。它会在解决方案根文件夹中创建一个发布设置文件,您可以查看它。

标签: .net azure continuous-integration continuous-deployment


【解决方案1】:

有没有办法让我获得 Visual Studio 用来部署的步骤?

您可以参考此article 从 Visual Studio 进行部署。

1.选择Clone,在Visual Studio中选择Clone。

2.在 Azure Portal 和 Visual Studio 中创建 Azure Function

3.设置与 Azure Build Pipelines 的持续集成

4.使用 Azure 发布管道配置持续部署

【讨论】:

  • 这不是我想要的。我知道如何创建管道以及如何部署。我正在寻找的是 Visual Studio 使用的确切步骤和配置,以便我可以在我的 devops 管道中为这个特定项目重新创建这些步骤。
猜你喜欢
  • 2015-12-22
  • 1970-01-01
  • 1970-01-01
  • 2013-11-18
  • 1970-01-01
  • 2022-07-29
  • 2020-11-18
  • 1970-01-01
  • 2019-09-13
相关资源
最近更新 更多