Skip to content

Commit 4541e2f

Browse files
Use update-antora-ui-spring action from spring-doc-actions
Closes gh-15106
1 parent a2a87a1 commit 4541e2f

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

.github/workflows/update-antora-ui-spring.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,28 @@ on:
88
permissions:
99
pull-requests: write
1010
issues: write
11+
contents: write
1112

1213
jobs:
13-
update:
14-
name: Build
15-
uses: spring-io/spring-security-release-tools/.github/workflows/update-antora-ui-spring.yml@7f9c379a5fa976c48285c83220b0a86ddc3a952c
16-
secrets:
17-
token: ${{ secrets.GITHUB_TOKEN }}
14+
update-antora-ui-spring:
15+
runs-on: ubuntu-latest
16+
name: Update Supported Branches
17+
strategy:
18+
matrix:
19+
branch: [ '5.8.x', '6.1.x', '6.2.x', 'main' ]
20+
steps:
21+
- uses: spring-io/spring-docs-actions/update-antora-spring-ui@9ab6029a59f5a8e3b40dc8757ff5d9f3569647db
22+
name: Update antora-playbook.yml
23+
with:
24+
docs-branch: ${{ matrix.branch }}
25+
token: ${{ secrets.GITHUB_TOKEN }}
26+
antora-file-path: 'docs/antora-playbook.yml'
27+
update-antora-ui-spring-docs-build:
28+
runs-on: ubuntu-latest
29+
name: Update Docs Build
30+
steps:
31+
- uses: spring-io/spring-docs-actions/update-antora-spring-ui@9ab6029a59f5a8e3b40dc8757ff5d9f3569647db
32+
name: Update antora-playbook.yml
33+
with:
34+
docs-branch: 'docs-build'
35+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)