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
The Kudu deployment engine that App Service leverages has the ability to run custom deployment scripts. You can include your desired npm command inside of a custom deployment script that will be executed as part of the deployment on Azure's side. No REST API calls required and everything stays in your source control system.