简体   繁体   中英

How can I deploy a node.js app to azure via git when the app is in a subfolder?

I have a existing git repository for a solution made up of multiple projects, some .Net, some Node.js. I want to deploy some of those projects to Azure Web sites via git.

Deploying an ASP.Net project living in a subfolder was easy (see Scott Hanselman's blog post) using a .deployment file:

[config]
project = WebProject/MyFirstSiteWebProject.csproj

Is there similar way to deploy a Node.js project living in a subfolder to Azure via git push?

Yes, it's basically the same, except you set project to the folder instead of the csproj file. eg

[config]
project = SomeFolder

See here for details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM