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:
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user