Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?

like image 653
Mohit Arora Avatar asked Mar 11 '26 19:03

Mohit Arora


1 Answers

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.

like image 76
David Ebbo Avatar answered Mar 14 '26 09:03

David Ebbo