Skip to content

Commit 1ec66dd

Browse files
committed
Add workflow for automating Antora UI upgrades
1 parent c35fc08 commit 1ec66dd

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Update Antora UI Spring
2+
3+
on:
4+
schedule:
5+
- cron: '0 10 * * *' # Once per day at 10am UTC
6+
workflow_dispatch:
7+
8+
permissions:
9+
pull-requests: write
10+
issues: write
11+
contents: write
12+
13+
jobs:
14+
update-antora-ui-spring:
15+
runs-on: ubuntu-latest
16+
name: Update on Supported Branches
17+
strategy:
18+
matrix:
19+
branch: [ '1.2.x', 'main' ]
20+
steps:
21+
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@5a57bcc6a0da2a1474136cf29571b277850432bc
22+
name: Update
23+
with:
24+
docs-branch: ${{ matrix.branch }}
25+
token: ${{ secrets.GITHUB_TOKEN }}
26+
antora-file-path: 'spring-graphql-docs/antora-playbook.yml'
27+
update-antora-ui-spring-docs-build:
28+
runs-on: ubuntu-latest
29+
name: Update on docs-build
30+
steps:
31+
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@5a57bcc6a0da2a1474136cf29571b277850432bc
32+
name: Update
33+
with:
34+
docs-branch: 'docs-build'
35+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)