title: Kudu post-deployment commands not running
body: <p>I'm trying to run some scripts after my site is deployed to azure (via kudu)</p>
  
  <p>I have the following directory structure</p>
  
  <pre><code>-solution
    - .deployment
    - deploy.cmd 
      - deployment
         - postdeployactions
           - test.bat
  </code></pre>
  
  <p>.deployment looks like this:</p>
  
  <pre><code>[config]
  POST_DEPLOYMENT_ACTION_DIR  = deployment\postdeployactions\
  command = deploy.cmd
  </code></pre>
  
  <p>deploy.cmd is unmodified from the one generated by <code>azure site deploymentscript --aspWAP pathToYourWebProjectFile.csproj -s pathToYourSolutionFile.sln</code> (<a href="http://blog.amitapple.com/post/38418009331/azurewebsitecustomdeploymentpart2/#.VPYd_PmUeTI" rel="nofollow">http://blog.amitapple.com/post/38418009331/azurewebsitecustomdeploymentpart2/#.VPYd_PmUeTI</a>)</p>
  
  <p>However test.bat is not getting called.</p>
  
  <p>I have tried setting both POST_DEPLOYMENT_ACTION_DIR and SCM_POST_DEPLOYMENT_ACTIONS_PATH (see <a href="https://github.com/projectkudu/kudu/issues/1154" rel="nofollow">https://github.com/projectkudu/kudu/issues/1154</a>)</p>