I'm trying to publish a node/express app to Azure Web Apps using Github Actions.
I assume that Azure knows how to run a node app because it defaults to "npm run start", but mine is based on a starter kit suite that uses "npm run serve" instead. How can I tell Azure how to run my app once it's deployed?
Somebody pointed out a workaround in the comments but didn't post it as answer so here it is...
You can just point one script at another, so {"start" : "npm run serve"} works perfectly well.
2.1m questions
2.1m answers
60 comments
57.0k users