Cache collector output for tags

This commit is contained in:
Rob Winch 2023-06-11 23:43:31 -05:00
parent bdbeffc901
commit 48d5488185
3 changed files with 5 additions and 2 deletions

View File

@ -33,8 +33,10 @@ jobs:
echo BUILD_VERSION=$(git cat-file --textconv FETCH_HEAD:gradle.properties | sed -n '/^version=/ { s/^version=//;p }') >> $GITHUB_ENV
- name: Run Antora
run: ./gradlew antora
- name: Copy the cache to be included in the site
run: cp -rf build/antora/inject-collector-cache-config-extension/.cache build/site/
- name: Publish Docs
uses: spring-io/spring-doc-actions/rsync-antora-reference@v0.0.5
uses: spring-io/spring-doc-actions/rsync-antora-reference@v0.0.6
with:
docs-username: ${{ secrets.DOCS_USERNAME }}
docs-host: ${{ secrets.DOCS_HOST }}

View File

@ -4,6 +4,7 @@ antora:
- ./lib/antora/extensions/inject-collector-config.js
- ./lib/antora/extensions/version-fix.js
- require: '@springio/antora-extensions/latest-version-extension'
- require: '@springio/antora-extensions/inject-collector-cache-config-extension'
- '@antora/collector-extension'
- '@antora/atlas-extension'
- require: '@springio/antora-extensions/tabs-migration-extension'

View File

@ -16,7 +16,7 @@ antora {
'@antora/atlas-extension': '1.0.0-alpha.1',
'@antora/collector-extension': '1.0.0-alpha.3',
'@asciidoctor/tabs': '1.0.0-beta.3',
'@springio/antora-extensions': '1.3.0',
'@springio/antora-extensions': '1.4.0',
'@springio/asciidoctor-extensions': '1.0.0-alpha.8',
]
}