Fix docs.yml workflow (add 'package' command)

The recent move to do config props generation only at docs
generation time left the docs.yml broken as it requires the
config props generator class to be compiled prior to running.

This updates the './build-docs.sh' to include the package command
as well as update the docs.yml to use the same script.

Signed-off-by: Chris Bono <chris.bono@gmail.com>
This commit is contained in:
Chris Bono
2025-03-03 15:38:52 -06:00
committed by Dave Syer
parent ba5ab90807
commit 2464944f6e
2 changed files with 6 additions and 2 deletions

View File

@@ -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
site-path: spring-grpc-docs/target/antora/site