projectkudu / AzureSiteReplicator

Azure Site Extension to replicate the content of one site to other sites using msdeploy
Apache License 2.0
17 stars 4 forks source link

Sync Other Site\ folders? #13

Open pdmnet102 opened 7 years ago

pdmnet102 commented 7 years ago

I love your project!

Is it possible to sync folders other than site\wwwroot?

In my Azure Web App i'd like to replicate the site\wwwroot folder and the site\ to my other sites.

I couldn't find anywhere in the project that defines the folders sync'd.

Paul

davidebbo commented 7 years ago

Paul, as it stands, it only target the wwwroot folder. It should be possible to extend it to other folders in theory.

pdmnet102 commented 7 years ago

Hi David,

Thanks and happy holidays!

Is the wwwroot target defined in a config file or somewhere else? I con't find any config for the target folder...

Many thanks.I love this extension.

Regards,

Paul

davidebbo commented 7 years ago

The publishing target is whatever folder is defined as the physical root of the target app, which normally is d:\home\site\wwwroot. That's something you can change in the target app, in the portal under Application Settings. So effectively you can change the target, but I think it's not quite what you're trying to achieve. Still give it a try.

Happy holidays to you as well!