Skip to content

Commit 88c9b0f

Browse files
rwinchrstoyanchev
authored andcommitted
Use the shared antora playbook
1 parent 39146f9 commit 88c9b0f

File tree

4 files changed

+11
-44
lines changed

4 files changed

+11
-44
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
16-
# if: github.repository_owner == 'spring-projects'
16+
if: github.repository_owner == 'spring-projects'
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v3

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,5 @@ atlassian-ide-plugin.xml
5050

5151
# VS Code
5252
.vscode/
53+
54+
cached-antora-playbook.yml

framework-docs/antora-playbook.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

framework-docs/framework-docs.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ apply from: "${rootDir}/gradle/publications.gradle"
1111

1212
antora {
1313
version = '3.2.0-alpha.2'
14-
playbook = 'antora-playbook.yml'
15-
// playbookProvider {
16-
// repository = 'rwinch/spring-framework'
17-
// branch = 'docs-build'
18-
// path = 'lib/antora/templates/per-branch-antora-playbook.yml'
19-
// checkLocalBranch = true
20-
// }
14+
playbook = 'cached-antora-playbook.yml'
15+
playbookProvider {
16+
repository = 'rwinch/spring-framework'
17+
branch = 'docs-build'
18+
path = 'lib/antora/templates/per-branch-antora-playbook.yml'
19+
checkLocalBranch = true
20+
}
2121
options = ['--clean', '--stacktrace']
2222
environment = [
2323
'ALGOLIA_API_KEY': '82c7ead946afbac3cf98c32446154691',
@@ -29,7 +29,7 @@ antora {
2929
'@antora/collector-extension': '1.0.0-alpha.3',
3030
'@asciidoctor/tabs': '1.0.0-beta.3',
3131
'@opendevise/antora-release-line-extension': '1.0.0-alpha.2',
32-
'@springio/antora-extensions': '1.1.0',
32+
'@springio/antora-extensions': '1.3.0',
3333
'@springio/asciidoctor-extensions': '1.0.0-alpha.9'
3434
]
3535
}

0 commit comments

Comments
 (0)