持续交付使用Visual Studio在线和Git不起作用。之后新的无动作提交 [英] Continuous delivery using Visual Studio Online and Git doesn't work. No action after new commit

查看:233
本文介绍了持续交付使用Visual Studio在线和Git不起作用。之后新的无动作提交的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要发布到互联网我Node.js的Web应用程序。有关本教程 ,我需要从Git仓库建立持续部署。

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.

我连我的Visual Studio Online帐户(如果我把我的应用程序)的Azure。现在,它看起来像这样:

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

我的项目应已建成并部署到Azure上我的下一个办理登机手续。所以我COMMITED一些小的变化,它推到Visual Studio联机。我可以看到VSOnline网站,在混帐回购协议的变更将提交给主分支。

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.

所以一切都似乎是罚款,但Azure不回应:/它仍然告诉我做一些入住。难道我做错了什么?

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?

推荐答案

在Visual Studio在线工作流程目前仅默认支持.NET。对于Node.js的应用程序,你将不得不修改生成模板来删除.NET编译再添加一个活动运行NPM。只要一切被放置在WebDeploy捆绑包投递文件夹,部署应该去罚款。

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.

这篇关于持续交付使用Visual Studio在线和Git不起作用。之后新的无动作提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆