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

Update variable name
This commit is contained in:
Ryan Baxter
2024-05-21 13:53:58 -04:00
committed by GitHub
2 changed files with 7 additions and 7 deletions

View File

@@ -466,7 +466,7 @@ public class ReleaserProperties implements Serializable {
private String springDocsSshUsername;
private String springDocsSshKey;
private String springDocsSshKeyPath;
private String springDocsSshHostKey;
@@ -502,12 +502,12 @@ public class ReleaserProperties implements Serializable {
this.springDocsSshUsername = springDocsSshUsername;
}
public String getSpringDocsSshKey() {
return springDocsSshKey;
public String getSpringDocsSshKeyPath() {
return springDocsSshKeyPath;
}
public void setSpringDocsSshKey(String springDocsSshKey) {
this.springDocsSshKey = springDocsSshKey;
public void setSpringDocsSshKeyPath(String springDocsSshKeyPath) {
this.springDocsSshKeyPath = springDocsSshKeyPath;
}
public String getSpringDocsSshHostKey() {
@@ -525,7 +525,7 @@ public class ReleaserProperties implements Serializable {
", syncAntoraDocsCommand='" + syncAntoraDocsCommand + '\'' +
", springDocsActionsTag='" + springDocsActionsTag + '\'' +
", springDocsSshUsername='" + springDocsSshUsername + '\'' +
", springDocsSshKey='" + springDocsSshKey + '\'' +
", springDocsSshKey='" + springDocsSshKeyPath + '\'' +
", springDocsSshHostKey='" + springDocsSshHostKey + '\'' +
'}';
}

View File

@@ -342,7 +342,7 @@ class CommandPicker {
ProjectVersion version = new ProjectVersion(project);
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 " + properties.getAntora().getSpringDocsSshKey()
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 "
+ project.getAbsolutePath() + "/target/antora/site --github-repository " + repo + " --dry-run";
}