Changed the way release train docs and project docs are uploaded and generated

This commit is contained in:
Marcin Grzejszczak
2020-06-10 10:18:45 +02:00
parent 0e3a95f9aa
commit 66383dd656
3 changed files with 13 additions and 12 deletions

View File

@@ -18,7 +18,7 @@ releaser:
documentation-url: https://github.com/spring-cloud/spring-cloud-static
spring-project-url: https://github.com/spring-projects/spring-cloud
test-samples-project-url: https://github.com/spring-cloud/spring-cloud-core-tests
release-train-docs-url: https://github.com/spring-cloud-samples/scripts
release-train-docs-url: https://github.com/spring-cloud/spring-cloud-release
release-train-wiki-url: https://github.com/spring-projects/spring-cloud.wiki
documentation-branch: gh-pages
spring-project-branch: gh-pages
@@ -64,11 +64,8 @@ releaser:
deploy-command: "./mvnw deploy -DskipTests -B -Pfast,deploy {{systemProps}}"
deploy-guides-command: "./mvnw clean verify deploy -B -Pguides,integration -pl guides {{systemProps}}"
publish-docs-commands:
- "mkdir -p target"
- "wget https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/docs/src/main/asciidoc/ghpages.sh -O target/gh-pages.sh"
- "chmod +x target/gh-pages.sh"
- "./target/gh-pages.sh -v {{version}} -c"
generate-release-train-docs-command: "bash release_train.sh --retrieveversions --version {{version}} --ghpages --auto"
- "./mvnw deploy -DskipTests -B -Pfast,deploy,docs -pl docs {{systemProps}}"
generate-release-train-docs-command: "./mvnw clean deploy -Pdocs,train-docs -pl train-docs"
system-properties: ""
wait-time-in-minutes: 20
bash: