Continuous delivery using Visual Studio Online and Git doesn't work. No action after new commit

自作多情 提交于 2019-12-12 02:46:23

问题


I want to publish to the internet my Node.js web application. Relating to this tutorial, I need to set up "continuous deployment" from git repository.

I connected my Visual Studio Online account (where I keep my application) to Azure. Now, it looks like this:

My project should have been built and deployed to Azure on my next check-in. So I commited some small change and pushed it to Visual Studio Online. I can see on VSOnline website that the change in git repo is commited to the master branch.

So everything seems to be fine, but Azure doesn't respond :/ It still tells me to do some check-in. Am I doing something wrong?


回答1:


The Visual Studio Online workflow currently only supports .NET by default. For a Node.js application, you would have to modify the Build Template to remove the .NET build then add an activity to run NPM. As long as everything is placed in the drop folder for WebDeploy to bundle the package, the deployment should go fine.



来源:https://stackoverflow.com/questions/32148898/continuous-delivery-using-visual-studio-online-and-git-doesnt-work-no-action-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!