Mohit Arora
Mohit Arora

Reputation: 31

add post deployment script on azure website(app service)

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 ?

Upvotes: 3

Views: 2345

Answers (1)

David Ebbo
David Ebbo

Reputation: 43193

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.

Upvotes: 2

Related Questions