Skip to content

Commit

Permalink
VCI-751: Fix preparing of docker context (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
krankenbro authored Nov 14, 2023
1 parent 839e6af commit 6d0b59f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/VirtoCommerce.Build/Cloud/Build.SaaS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ private static bool CheckAppServiceStatus(string expected, string actual)
foreach ( var dir in directories)
{
FileSystemTasks.CopyDirectoryRecursively(dir, platformDirectory, DirectoryExistsPolicy.Merge, FileExistsPolicy.OverwriteIfNewer);
var dirName = Path.GetFileName(dir);
FileSystemTasks.CopyDirectoryRecursively(dir, Path.Combine(platformDirectory, dirName), DirectoryExistsPolicy.Merge, FileExistsPolicy.OverwriteIfNewer);
}
foreach( var file in files)
Expand Down Expand Up @@ -187,6 +188,9 @@ private static bool CheckAppServiceStatus(string expected, string actual)
var contentSource = Path.Combine(webProject.Directory, contentDirectory);
FileSystemTasks.CopyDirectoryRecursively(contentSource, contentDestination, DirectoryExistsPolicy.Merge, FileExistsPolicy.OverwriteIfNewer);
}
var moduleManifestPath = webProject.Directory / "module.manifest";
FileSystemTasks.CopyFileToDirectory(moduleManifestPath, moduleDestinationPath, FileExistsPolicy.OverwriteIfNewer);
}
}
Expand Down

0 comments on commit 6d0b59f

Please sign in to comment.