Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion AzureWebAppClone/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,14 @@ public static void SyncDatabases(Profile src, Profile dest , string dbtype)
}
public static void SyncWebApps(Profile src, Profile dest)
{
DeploymentSyncOptions syncOptions = new DeploymentSyncOptions();
DeploymentSyncOptions syncOptions = new DeploymentSyncOptions()
{
Rules =
{
new DeploymentSkipRule("SkipASearch", "AddChild", "dirPath", "app.data.search", ""),
new DeploymentSkipRule("SkipUSearch", "Update", "dirPath", "app.data.search", "")
}
};

DeploymentBaseOptions sourceBaseOptions = new DeploymentBaseOptions();
sourceBaseOptions.ComputerName = "https://" + src.publishUrl + "/msdeploy.axd";
Expand Down