Remove files and foldes on Azure before a new deploy from VSTS
As part of my build process in VSTS I want to delete all files and folders (except af few) from my azure site before a new deploy. My guess is, that using a Azure Powershell script would be a good idea and I would prefer making an inline script. I am using Azure Resource Manager as connection type, I have selected my subscription and script type (Inline Script) but then I am lost, how do i select my app service and, for a start, list my files? Trying just, this for a test, only gives my files in my VSTS environment Get-ChildItem -Path $(build.sourcesDirectory) First, it’s better to include the