- Install
azure-cli
npm install -g azure-cli- Create
.deploymentanddeploy.cmdfiles
cd your/folder/
azure site deploymentscript --node --sitePath .- Add the following to
deploy.cmdunder:deployment
:: 4. Run grunt
IF EXIST "%DEPLOYMENT_TARGET%\Gruntfile.js" (
pushd "%DEPLOYMENT_TARGET%"
call :ExecuteCmd grunt
IF !ERRORLEVEL! NEQ 0 goto error
popd
)- Commit your changes
git commit deploy.cmd -m "Updated deploy.cmd to include Grunt"- Push your changes
git push azure master