I'm trying to deploy a node.js Web App from Visual Studio Online to Azure Web App. Visual Studi Online offers the possibility to build the app online and then to deploy it to azure.
I added the build script "Visual Studio Build" and then the "Azure Web App Deployment":
The "Visual Studio Build" works fine. In the build process step "Azure Web App Deployment" I added different paths for "Web Deploy Package". Nothing works.
Do you know how to build and deploy the node.js web app to Azure? Or do you know which path to use for the "Web Deploy Package" in the process step "Azure Web App Deployment"?
Thank you for your help!
Create or open an Azure cloud service project in Visual Studio. In Solution Explorer, right-click the project, and, from the context menu, select Convert > Convert to Azure Cloud Service Project. In Solution Explorer, right-click the newly created Azure project, and, from the context menu, select Publish.
Now the VSO allows the file picker to choose the path to the Web Deploy package.
I am not sure whether Visual Studio Build will create a deployment package for a Node.JS application.
You can try one of the two things.
You can create your own zip package from the code by using the generic powershell task and then put the zip's full path on the agent machine in Web Deploy Package field.
You can always check-in the zipped file which then can be selected using file-picker.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With