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

后端 未结 5 1411
臣服心动
臣服心动 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:38

    You can use PowerShell task or npm task to execute npm commands .

    One thing to note: you also need to upload the .npmrc with auth token to Azure.

提交回复
热议问题