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

Using host key property
This commit is contained in:
Ryan Baxter
2024-05-21 15:44:49 -04:00
committed by GitHub

View File

@@ -343,7 +343,7 @@ class CommandPicker {
String repo = properties.getGit().getOrgName() + "/" + version.projectName;
// TODO this needs to be a property
return "./jenkins.sh --docs-username " + properties.getAntora().getSpringDocsSshUsername() + " --docs-ssh-key-path " + properties.getAntora().getSpringDocsSshKeyPath()
+ " --docs-host docs-ip.spring.io --docs-ssh-host-key # --site-path "
+ " --docs-host docs-ip.spring.io --docs-ssh-host-key " + properties.getAntora().getSpringDocsSshHostKey() + " --site-path "
+ project.getAbsolutePath() + "/target/antora/site --github-repository " + repo + " --dry-run";
}