diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 463218ed..97341f1e 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -36,7 +36,7 @@ jobs: echo BUILD_VERSION=$BUILD_VERSION >> $GITHUB_ENV - name: Run Antora run: | - ./mvnw --no-transfer-progress -B antora + ./mvnw -s .settings.xml --no-transfer-progress -B antora - name: Publish Docs uses: spring-io/spring-doc-actions/rsync-antora-reference@v0.0.11 with: diff --git a/.settings.xml b/.settings.xml new file mode 100644 index 00000000..171351c0 --- /dev/null +++ b/.settings.xml @@ -0,0 +1,62 @@ + + + + + repo.spring.io + ${env.CI_DEPLOY_USERNAME} + ${env.CI_DEPLOY_PASSWORD} + + + + + spring + + true + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/libs-snapshot-local + + true + + + + spring-milestones + Spring Milestones + https://repo.spring.io/libs-milestone-local + + false + + + + spring-releases + Spring Releases + https://repo.spring.io/release + + false + + + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/libs-snapshot-local + + true + + + + spring-milestones + Spring Milestones + https://repo.spring.io/libs-milestone-local + + false + + + + + +