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.

  1. Are you deploying to your own server or Azure App Service?

  2. To our own server.

  3. 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. Got it. Thanks!

Reply to this discussion Internal reply only staff will see it

Markdown

Attaching KB article:

» »

Read more…

Attach files

Up to 10MB each.

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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