diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 073d88b87d9..f08e5373750 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -19,6 +19,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup Node uses: actions/setup-node@v4 with: @@ -34,7 +36,7 @@ jobs: ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} REFERENCE: ${{ github.event.inputs.build-refname }} BUILD_VERSION: ${{ github.event.inputs.build-refname }} - run: npx antora antora-playbook.yml --stacktrace --fetch + run: npx antora antora-playbook.yml --stacktrace - name: Sync Documentation uses: spring-io/spring-doc-actions/rsync-antora-reference@v0.0.15 with: diff --git a/antora-playbook.yml b/antora-playbook.yml index 073a41118e6..b528a9868d9 100644 --- a/antora-playbook.yml +++ b/antora-playbook.yml @@ -26,7 +26,7 @@ site: robots: allow content: sources: - - url: https://github.com/spring-projects/spring-boot + - url: . branches: - 'main' - '*({0..9}).*({0..9}).x'