diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c730aa6..e14de37 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -35,7 +35,7 @@ jobs: echo BUILD_VERSION=$BUILD_VERSION >> $GITHUB_ENV - name: Run Antora run: | - ./mvnw -pl spring-grpc-docs process-resources antora -P docs + ./build-docs.sh - name: Publish Docs uses: spring-io/spring-doc-actions/rsync-antora-reference@v0.0.11 with: @@ -43,4 +43,4 @@ jobs: docs-host: ${{ secrets.DOCS_HOST }} docs-ssh-key: ${{ secrets.DOCS_SSH_KEY }} docs-ssh-host-key: ${{ secrets.DOCS_SSH_HOST_KEY }} - site-path: spring-grpc-docs/target/antora/site \ No newline at end of file + site-path: spring-grpc-docs/target/antora/site diff --git a/build-docs.sh b/build-docs.sh index 09f50ec..cfc9bfb 100755 --- a/build-docs.sh +++ b/build-docs.sh @@ -1,3 +1,7 @@ #!/bin/bash +# Be sure the ConfigurationPropertiesAsciidocGenerator is compiled +./mvnw -pl spring-grpc-docs package + +# Generate the config props and antora site ./mvnw -pl spring-grpc-docs process-resources antora -P docs