From 5a57bcc6a0da2a1474136cf29571b277850432bc Mon Sep 17 00:00:00 2001 From: Marcus Hert Da Coregio Date: Mon, 20 May 2024 13:54:54 -0300 Subject: [PATCH] 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 --- README.adoc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index 43fd124..402686e 100644 --- a/README.adoc +++ b/README.adoc @@ -121,19 +121,23 @@ permissions: jobs: update-antora-ui-spring: runs-on: ubuntu-latest - name: Update + name: Update on Supported Branches strategy: matrix: branch: [ '5.8.x', '6.1.x', '6.2.x', 'main' ] steps: - uses: spring-io/spring-doc-actions/update-antora-spring-ui@{ACTION_VERSION} - name: Update on Supported Branches + name: Update with: docs-branch: ${{ matrix.branch }} token: ${{ secrets.GITHUB_TOKEN }} antora-file-path: '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@{ACTION_VERSION} - name: Update on docs-build + name: Update with: docs-branch: 'docs-build' token: ${{ secrets.GITHUB_TOKEN }}