Skip to content

Commit 5a57bcc

Browse files
marcusdacoregiorwinch
authored andcommitted
Fix update-antora-ui-spring README example
Move the step that updates only one branch to a different job, avoiding running it multiple times since the previous job used a matrix strategy
1 parent 17ed79e commit 5a57bcc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Diff for: README.adoc

+7-3
Original file line numberDiff line numberDiff line change
@@ -121,19 +121,23 @@ permissions:
121121
jobs:
122122
update-antora-ui-spring:
123123
runs-on: ubuntu-latest
124-
name: Update
124+
name: Update on Supported Branches
125125
strategy:
126126
matrix:
127127
branch: [ '5.8.x', '6.1.x', '6.2.x', 'main' ]
128128
steps:
129129
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@{ACTION_VERSION}
130-
name: Update on Supported Branches
130+
name: Update
131131
with:
132132
docs-branch: ${{ matrix.branch }}
133133
token: ${{ secrets.GITHUB_TOKEN }}
134134
antora-file-path: 'docs/antora-playbook.yml'
135+
update-antora-ui-spring-docs-build:
136+
runs-on: ubuntu-latest
137+
name: Update on docs-build
138+
steps:
135139
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@{ACTION_VERSION}
136-
name: Update on docs-build
140+
name: Update
137141
with:
138142
docs-branch: 'docs-build'
139143
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)