I've got a slick Aurelia app and now I want to publish to Azure using VSTS using continuous deployment. On deployment, I need to run a few node commands.
npm install jspm install npm run build:staging How can I configure Kudu to run this?
I've got a slick Aurelia app and now I want to publish to Azure using VSTS using continuous deployment. On deployment, I need to run a few node commands.
npm install jspm install npm run build:staging How can I configure Kudu to run this?
From kudu's wiki:
Install azure-cli
npm install azure-cli -g Switch azure console to asm mode
azure config mode asm In your project's root, run the custom deployment script generator command:
azure site deploymentscript [options] Now you can edit the deploy.cmd file and add your custom steps (like your npm commands).
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Deployment :: ---------- ... [deployment steps] ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::