File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -121,16 +121,22 @@ permissions:
121121jobs:
122122 update-antora-ui-spring:
123123 runs-on: ubuntu-latest
124- name: Update Antora UI Spring
124+ name: Update
125125 strategy:
126126 matrix:
127- branch: ['main ', 'docs-build' ]
127+ branch: [ '5.8.x ', '6.1.x', '6.2.x', 'main' ]
128128 steps:
129- - uses: spring-io/spring-docs -actions/update-antora-spring-ui@{ACTION_VERSION}
130- name: Update antora-playbook.yml
129+ - uses: spring-io/spring-doc -actions/update-antora-spring-ui@{ACTION_VERSION}
130+ name: Update on Supported Branches
131131 with:
132132 docs-branch: ${{ matrix.branch }}
133133 token: ${{ secrets.GITHUB_TOKEN }}
134+ antora-file-path: 'docs/antora-playbook.yml'
135+ - uses: spring-io/spring-doc-actions/update-antora-spring-ui@{ACTION_VERSION}
136+ name: Update on docs-build
137+ with:
138+ docs-branch: 'docs-build'
139+ token: ${{ secrets.GITHUB_TOKEN }}
134140----
135141
136142The PR will only be created if there is no open PR for the same branch, even if there is a newer version of Antora UI Spring.
Original file line number Diff line number Diff line change 1919 using : " composite"
2020 steps :
2121 - uses : actions/checkout@v4
22+ with :
23+ ref : ${{ inputs.docs-branch }}
2224 - id : generate-branch-name
2325 name : Generate Branch Name
2426 run : echo "branch-name=${{ inputs.docs-branch }}_${{ inputs.workflow-branch-suffix }}" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments