I'm trying to deploy a nodejs with expressjs app. My pipeline is this:
This create a correct artifact:
We can check here:
Now I create this release that uses the artifact I mentioned previously:
The steps in release:
And after release executed(success) in appname.scm.azurewebsites.net in wwwroot folder I have the right files:
But application never start because I never tell how start I think.
What would I put in Post deployment action? node server/server.js? (server.js is in server folder), npm start? In my package.json if I use npm start, then it going to run node server/server.js. Because in local, if I will run my app I have to execute npm start or node server/server.js