Using web deploy, how do you publish to a particular slot?
Asked Answered
D

1

6

I'm using web deploy (with appveyor) to publish to my web app. How can I publish to a particular slot though (i.e. staging) and not to the production slot?

What is the server url for a particular slot?

Edit

If the app scm is:

https://myappprod.scm.azurewebsites.net:443/msdeploy.axd?site=myappprod

Things I've tried:

https://myappprod.scm.azurewebsites.net:443/msdeploy.axd?site=myappprod-staging

https://myappprod-staging.scm.azurewebsites.net:443/msdeploy.axd?site=myappprod-staging

https://myappprod-staging.scm.azurewebsites.net:443/msdeploy.axd?site=myappprod

No love so far...

Solution - For posterity

enter image description here

Click the "Get publish..." button to get the publish settings for a particular slot.

Decoteau answered 21/10, 2015 at 17:43 Comment(0)
B
5

You can download the publishsettings file for a specific deployment slot. From looking at one of those, it seems the publish URL is of the form
https://myappprod-staging.scm.azurewebsites.net:443/msdeploy.axd?site=myappprod__staging.

Bullfinch answered 21/10, 2015 at 18:6 Comment(1)
Thank you! Yes I see now the download publish settings for the slot!Decoteau

© 2022 - 2024 — McMap. All rights reserved.