add post deployment script on azure website(app service)

2.2k views Asked by At

I am trying to run a post deployment script to delete few files from azure website(app service-kudu). I am using visual studio online 2015 for CI-build definition. I want to add a post deployment script that can delete few files from app service(site\wwwroot..).

I looked into [How to add a custom post deployment script to azure websites?

On this link it is mentioned to add POST_DEPLOYMENT_ACTION in app setting on azure portal. I am unable to understand what will be the exact path of the script . If I write a cmd script and keep in the folder where solution file is present. Now what will be the exact path ?

1

There are 1 answers

7
David Ebbo On

If you are using a VSTS build definition, your build is happening in VSTS and is not using Kudu. As such, this post deployment hook feature is not available.