使用azure cli将gitlab工件部署到microsoft azure web app

时间:2017-08-17 20:47:42

标签: azure gitlab gitlab-ci azure-cli

是否可以使用azure cli部署GitLab生成的工件。

# Deploy sample code to "staging" slot from GitHub.
az webapp deployment source config --name $webappname --resource-group myResourceGroup \
--slot staging --repo-url $gitrepo --branch master --manual-integration

与此类似,但只有工件而不是整个存储库

1 个答案:

答案 0 :(得分:0)

目前,Azure Cli 2.0支持从Git或Mercurial存储库部署webapp。目前,Gitlab不受支持。

  

集团       az webapp部署源:管理源控制系统。

     

命令:       config:与Git或Mercurial存储库关联。

您可以使用手动步骤部署您的webapp。请参阅此link:Setting up continuous deployment using manual steps