[英]Azure App Service Continuous Deployment with VSTS
I have set up Azure continuous deployment from a branch in my Visual Studio Team Services GIT Repository. 我已经从Visual Studio Team Services GIT存储库中的分支设置了Azure连续部署。 Everything is working fine however I would like to run a few gulp tasks before the actual deployment takes place. 一切工作正常,但是在实际部署之前,我想运行一些gulp任务。 Is there a way how I can do this? 有没有办法我可以做到这一点?
Azure
provides continuous deployment
out of the box through the use of several sources of your code. Azure
通过使用多个代码源提供了开箱即用的continuous deployment
。 What you will need will be more in the side of continuous integration
, running tasks and flows to build the code. 在continuous integration
,运行任务和流程以构建代码方面,您将需要更多。
There are many ways and tools of doing continuous integration, nevertheless the most compatible to do this in Azure
would be within the build and release parts of Visual Studio Team Services
. 进行持续集成的方法和工具有很多,但是在Azure
实现此功能最兼容的方法是在Visual Studio Team Services
和发布部分中。
Within your Azure
subscription you can setup this following the next steps( it seems you have already setup your code in Visual Studio team services
, then you can skip to step 3 ): 在您的Azure
订阅中,您可以按照以下步骤进行设置( 似乎您已经在Visual Studio team services
设置了代码,然后可以跳到步骤3 ):
VSTS
project 创建一个VSTS
项目 Git
Repo inside VSTS
将您的代码放入VSTS
的Git
Repo中 Gulp
Tasks 添加和配置您的Gulp
任务 Azure
将内部版本部署到Azure
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.