Skip to content

Commit 92807a7

Browse files
rwinchdsyer
authored andcommitted
Add scheduled workflow to update Antora UI Spring
Runs daily and on workflow_dispatch. Opens PRs to bump the Antora UI Spring bundle URL in spring-grpc-docs/src/main/antora/antora-playbook.yml for main and 1.0.x.
1 parent eb93cc2 commit 92807a7

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
name: Update on Supported Branches
16+
if: ${{ github.repository == 'spring-projects/spring-grpc' }}
17+
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
branch: [ 'main', '1.0.x' ]
21+
steps:
22+
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@415e2b11a766ba64799fffb5c97a4f7e17f677cf # v0.0.22
23+
name: Update
24+
with:
25+
docs-branch: ${{ matrix.branch }}
26+
token: ${{ secrets.GITHUB_TOKEN }}
27+
antora-file-path: 'spring-grpc-docs/src/main/antora/antora-playbook.yml'

0 commit comments

Comments
 (0)