From f39de00179533b66de26d84ab643c29746167690 Mon Sep 17 00:00:00 2001 From: Marcus Hert Da Coregio Date: Mon, 20 May 2024 09:36:59 -0300 Subject: [PATCH] Polish workflow Issue gh-15106 --- .github/workflows/update-antora-ui-spring.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/update-antora-ui-spring.yml b/.github/workflows/update-antora-ui-spring.yml index cc864202614..acd3a2847ab 100644 --- a/.github/workflows/update-antora-ui-spring.yml +++ b/.github/workflows/update-antora-ui-spring.yml @@ -1,8 +1,6 @@ name: Update Antora UI Spring on: - schedule: - - cron: '0 10 * * *' # Once per day at 10am UTC workflow_dispatch: permissions: @@ -13,23 +11,19 @@ permissions: jobs: update-antora-ui-spring: runs-on: ubuntu-latest - name: Update Supported Branches + name: Update strategy: matrix: branch: [ '5.8.x', '6.1.x', '6.2.x', 'main' ] steps: - uses: spring-io/spring-doc-actions/update-antora-spring-ui@9ab6029a59f5a8e3b40dc8757ff5d9f3569647db - name: Update antora-playbook.yml + name: Update on Supported Branches 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 Docs Build - steps: - uses: spring-io/spring-doc-actions/update-antora-spring-ui@9ab6029a59f5a8e3b40dc8757ff5d9f3569647db - name: Update antora-playbook.yml + name: Update on docs-build with: docs-branch: 'docs-build' token: ${{ secrets.GITHUB_TOKEN }}