Reputation: 241
I'm in the process of setting up a build and release of an asp.net core web app on vsts.
I've the build working with the following tasks:
This all works fine...
The release is an "Azure App Service Deploy" task. The "package or folder" is $(System.DefaultWorkingDirectory)/MyBuild/MyApp_Package It is "working" sortof in that it is deploying the zip file to the Azure web app but does not extract the files.
How do I get it to extract the zip on the azure web site?
Upvotes: 4
Views: 7280
Reputation: 1302
I had the same problem. However the "Publish using Web Deploy" option has been checked all the time. I also tried the version 2 and 3 of the task.
My solution was to add unzip .zip and rm
Upvotes: 3
Reputation: 33698
Since you are deploying a package (zip), you need to check Publish using Web Deploy option and specify the zip file for Package or folder.
Upvotes: 5