1

有许多简单的例子展示了在没有Github 集成的情况下如何做到这一点。Azure Powershell commandlet New-AzureWebsite支持公共存储库(可以从源代码 [1] 确认)。有没有人尝试通过连接到私人仓库来创建它?它似乎没有记录在任何地方。

更新:我意识到这可能是 Kudu 帮助我的事情。

[1] https://github.com/Azure/azure-powershell/blob/e06a22c22f7a1c8153e9c2fa7c159ae7b1fd1dab/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/GithubClient.cs#L124

4

1 回答 1

3

我们尚未将功能添加到 powershell。但是,您可以尝试使用下面的 ARMClient 工具来实现这一点。有关信息,请参阅其自述文件和 wiki。

https://github.com/projectkudu/ARMClient

https://github.com/projectkudu/ARMClient/wiki/Setup-GitHub-publishing-to-Site

于 2015-01-14T18:18:10.773 回答