Reputation: 1000
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.
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)
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
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
Reputation: 1069
To publish to an Azure App Service, you need to use either of the following Agent tasks:
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