Where is 'After deployment command' run from?
Using web deploy environment to deploy from GUI, what directory is the after deployment command run from? Was hoping it would be the deployment folder but that does not seem to be the case.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 06 Dec, 2019 06:12 PM
Are you deploying to your own server or Azure App Service?
2 Posted by pdoyle on 06 Dec, 2019 06:14 PM
To our own server.
Support Staff 3 Posted by Feodor Fitsner on 06 Dec, 2019 06:40 PM
There is a little bit more work to get
runCommand
provider running with your Web Deploy service: https://blogs.technet.microsoft.com/leesab/2014/08/13/how-to-use-we...The path to a command is either absolute path the script or script file name, but in both cases within the allowed folder.
4 Posted by pdoyle on 06 Dec, 2019 06:58 PM
Got it. Thanks!