How can we set the default path for IIS deployment

tim's Avatar

tim

20 Oct, 2018 07:13 PM

We're using the AppVeyor deployment agent and would like to have the sites install into a set folder. What property do we need to set in the yml to do this?

Ideally we want them to go into:
X:\websites\domain.com\www

"domain.com" would be specific to the solution and www to the project.

Thanks

  1. Support Staff 1 Posted by Owen McDonnell on 22 Oct, 2018 06:15 PM

    Owen McDonnell's Avatar

    Can you share a screenshot of your environment settings and share your yml config file (feel free to make the discussion private if you prefer).

  2. Support Staff 2 Posted by Ilya Finkelshte... on 22 Oct, 2018 06:32 PM

    Ilya Finkelshteyn's Avatar

    Hi Tim,

    You can set that path using path setting inside the Agent Deployment environment (check this part of documentation).

    If you need to change this path dynamically based on solution and the project, you can pass this setting as environment variable as described here. If you hit some issues with this, please send us your YAML and agent environment settings screenshot.

    Other option is to create separate agent environment with hard-coded path and use specific agent environment with specific solution. This is less elegant than using environment variables, but also will work.

    Ilya.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

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