Publish dynamic questions during UAT deploy
This commit is contained in:
@@ -12,7 +12,7 @@ public static class DynamicBlueprintCommand
|
||||
var sourceIndex = Array.FindIndex(args, value => value.Equals("--source", StringComparison.OrdinalIgnoreCase));
|
||||
var source = sourceIndex >= 0 && sourceIndex + 1 < args.Length
|
||||
? args[sourceIndex + 1]
|
||||
: Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", "..", "content", "dynamic_questions"));
|
||||
: Path.Combine(AppContext.BaseDirectory, "content", "dynamic_questions");
|
||||
if (!Directory.Exists(source))
|
||||
{
|
||||
await output.WriteLineAsync($"Dynamic blueprint directory not found: {source}");
|
||||
|
||||
Reference in New Issue
Block a user