Skip to content

Commit

Permalink
Add workflow for automating Antora UI upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
bclozel committed May 24, 2024
1 parent a1e56ae commit a5aa8ba
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/update-antora-ui-spring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Update Antora UI Spring

on:
schedule:
- cron: '0 10 * * *' # Once per day at 10am UTC
workflow_dispatch:

permissions:
pull-requests: write
issues: write
contents: write

jobs:
update-antora-ui-spring:
runs-on: ubuntu-latest
name: Update on Supported Branches
strategy:
matrix:
branch: [ '1.2.x', 'main' ]
steps:
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@5a57bcc6a0da2a1474136cf29571b277850432bc
name: Update
with:
docs-branch: ${{ matrix.branch }}
token: ${{ secrets.GITHUB_TOKEN }}
antora-file-path: 'spring-graphql-docs/antora-playbook.yml'
update-antora-ui-spring-docs-build:
runs-on: ubuntu-latest
name: Update on docs-build
steps:
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@5a57bcc6a0da2a1474136cf29571b277850432bc
name: Update
with:
docs-branch: 'docs-build'
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a5aa8ba

Please sign in to comment.