I have an 'azure powershell task' running in my VSTS release after my 'deploy to azure site' task. In the powershell script, i have some transformations that i need to run on several of the files on the website, all based on the deployments variables.
The problem is I can't find the directory for the website. The root directory that the task is run under is something like:
D:\a_tasks\AzurePowerShell_71a1931a-effb-3d2e-8fd8-f7472a07cb62\3.1.18\
how do i point it to the d:\home\site\wwwroot\ , is there a build/release variable that automatically picks the deployment site location? Or can i just write out 'd:\home\site\wwwroot\' and expect that to not change in the future?