From aafd466cc1a76142bf9ffc235e26f35f7a349245 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 27 Mar 2024 11:22:38 -0700 Subject: [PATCH] Use local git repository as source --- .github/workflows/deploy-docs.yml | 4 +++- antora-playbook.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 073d88b87d..f08e537375 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 073a41118e..b528a9868d 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'