Forum Discussion
anujsharrma
May 08, 2020Copper Contributor
Extract zip file on azure web app
I am using below YAML script to deploy my artifact on azure web app, it works fine but it doesn't unzip the file on azure web app, it just deploy zip file and my web app doesn't run coz of zip file ...
RodNet
May 08, 2020Brass Contributor
How Are you fine?
I hope So!
In the mailto:AzureWebApp@1 the " FILE " is on the:
$(System.DefaultWorkingDirectory)Accordingly to the documentation the snippet looks for the .zip file on the path above.
Could you try doing like this:
- task: AzureWebApp@1
inputs:
azureSubscription: '<Azure service connection>'
appName: '<Name of web app>'
package: $(System.DefaultWorkingDirectory)/**/*.zip
Documentation Link: https://docs.microsoft.com/en-us/azure/devops/pipelines/targets/webapp?view=azure-devops&tabs=yaml
Let me know if I could help you with this.
![]()