How to deploy node.js application for Azure in Visual Studio Online?

I am trying to deploy a node.js web application from Visual Studio Online to Azure Web App. Visual Studi Online offers the ability to create an application online and then deploy it on the azure.

I added the assembly script "Visual Studio Build" and then "Deploy Azure Web Applications":

Visual Studio Online Build Process

Visual Studio Build works great. In the Azure Web Application Deployment build process step, I added different paths for the Web Deploy Package. Nothing works.

Azure Web Application Deployment

Do you know how to create and deploy a node.js web application for Azure? Or do you know which path to use for the "Web Deploy Package" in the Azure Web Application Deployment process step?

Thank you for your help!

+7
visual-studio azure tfsbuild vsts
source share
1 answer

VSO now allows the file collector to choose the path to the Web Deploy package.

I'm not sure if Visual Studio Build will create a deployment package for the Node.JS application.

You can try one of two things.

  • You can create your own mail package from the code using the common powershell task, and then put the full zip path on the agent machine in the "Web Deploy Package" field.

  • You can always check the encrypted file, which can then be selected using a binder file.

+1
source share

All Articles