Merge pull request #280 from ryanjbaxter/publish-antora-docs

Quoting key
This commit is contained in:
Ryan Baxter
2024-05-21 16:28:53 -04:00
committed by GitHub

View File

@@ -191,7 +191,7 @@ public class ProjectCommandExecutor {
}
for (int i = 0; i < commands.length; i++) {
if (commands[i].contains("{{host-key}}")) {
commands[i] = commands[i].replace("{{host-key}}", properties.getAntora().getSpringDocsSshHostKey());
commands[i] = commands[i].replace("{{host-key}}", "\"" + properties.getAntora().getSpringDocsSshHostKey()) + "\"";
}
}
runCommand(properties, antoraDocsProject.getAbsolutePath() + "/rsync-antora-reference/src", commands);