Run npm scripts in kudu
1 answer
From the kudu wiki :
Install azure-cli
npm install azure-cli -g
Turn azure console into asm mode
azure config mode asm
At the root of your project, run the custom deployment script generator command:
azure site deploymentscript [options]
You can now edit the deploy.cmd file and add your own steps (for example your npm commands).
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Deployment
:: ----------
... [deployment steps]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+3
source to share