How to run npm command on azure app service after deployment success by VSTS?

后端 未结 5 1405
臣服心动
臣服心动 2021-01-18 12:02

Now I can deploy from VSTS to azure, but I can\'t run npm after deploy is successful.

Now it is work like -> run npm install for branch files => zip => copy to azure

5条回答
  •  孤城傲影
    2021-01-18 12:47

    There is no out of box build task to achieve the feature you want. If you do want to run the npm from Azure App Service:

    Manually: You can go to Kudu console of the App Service and run npm command there:

    Automatically: You need to create your own build task to run the npm command via Kudu Rest API

提交回复
热议问题