Resources required in Azure
#1 App Service with Runtime Stack Node LTS


Deployment Center setup in App Service
Once our Nodejs App Service created go to Deployment Center > Select GitHub and Continue > Select Azure pipeline


Azure DevOps Settings (https://dev.azure.com)
#1. For compiling SASS we need to add Interim Build Pipe line step like below:

A Few Quirks
#1. While Generating www folder through grunt buildProd we need to make sure to set public path in .sailsrc file like below:{ "hooks": { "grunt": false }, "generators": { "modules": {} }, "paths": { "public": "www" << Important step }, "_generatedWith": { "sails": "1.1.0", "sails-generate": "1.16.0" } }#2. In Azure with npm start it will always run in production, so make sure to keep your config/env/production.js file upto date #3. For file upload we need to use Azure Storage as node app would be running inside docker and not allowing to create any files inside it. #4. Please use App Service Configuration to build config/env/production.js just like below screenshots:

