camous
camous

Reputation: 1000

Continuous deployment from Visual Studio Team Services to Azure App Service

I'm trying to automatically deploy from Team Services (was Visual Studio Online) after a successful build a C# program to an azure app service without success.

I can only do it to a cloud service (classic) rather app service.

enter image description here enter image description here

I've seen that I could plug Team Services directly to the app service with "deployment source" (I did tried so far because both tenant, Team Services & Azure one are different and requires some effort) enter image description here

but wouldn't it break the normal release / test process from Team Services? I can only find little information over internet regarding these topics ... Any help would be appreciated.

Upvotes: 0

Views: 361

Answers (2)

Eddie Chen - MSFT
Eddie Chen - MSFT

Reputation: 29958

You can also add a FTP Upload task in your build definition to publish the output to Azure App Service via FTP Method.

Upvotes: 0

Justin Patten
Justin Patten

Reputation: 1069

To publish to an Azure App Service, you need to use either of the following Agent tasks:

Deployment Options

Here is a walkthrough: https://www.visualstudio.com/en-us/docs/build/apps/aspnet/aspnet4-to-azure

When making a new build definition, it is easiest to choose the Deployment -> Azure WebApp option.

Upvotes: 0

Related Questions