I am trying - with no success - to run a post-deployment script on my webapp in Azure. I've created .sh and .cmd files, and placed them in site\deployments\tools\PostDeploymentActions, but the files don't run upon completion. All I'm trying to do is SSH into the deployment machine and run 1 line of code:
apt get install XXXX
I've tried looking at several other questions (How to add a custom post deployment script to azure websites?), but I can't re-create their success on my own machine.
It doesn't look like Azure has documentation on how to actually set up a post deployment action. And the only other resource I've found (https://github.com/projectkudu/kudu/wiki/Post-Deployment-Action-Hooks) hasn't given me success.
Has anybody else had success setting a post deployment action up? If so, can someone explain in very simple terms how to arrange it?