Azure Source Control deployment process would involve below steps
- Moves content to azure web app
- Creates default deployment script, if there is no .deployment file in web app root folder
- Run’s deployment script. In case of a nodejs app it would do
npm install
here
At Step 2, Instead of deployment process creating a default script. We can include custom deployment script and change it’s content to
- Install modules listed in package.json file.
- Install modules listed in bower.json file
- Install modules listed in composer.json file
- Run Gulp Tasks
- Run Grunt Tasks
- Unzip files
More Info @ https://ourwayoflyf.com/azure-custom-deployment/