From 63742a9fa85e210c2a743722d7ff982799666d45 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 22 Jul 2024 14:29:07 +0100 Subject: [PATCH] Fix BUILD_REFNAME and BUILD_VERSION settings Update actions to use the correct `BUILD_REFNAME` and `BUILD_VERSION` environment variables. Closes gh-41573 --- .github/workflows/deploy-docs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index fed2984fad8..a2cecf7ce36 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -41,7 +41,7 @@ jobs: env: ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} - REFERENCE: ${{ github.event.inputs.build-refname }} + BUILD_REFNAME: ${{ github.event.inputs.build-refname }} BUILD_VERSION: ${{ github.event.inputs.build-version }} run: node run.js --no-checkout - name: Sync Documentation @@ -52,6 +52,9 @@ jobs: docs-ssh-key: ${{ secrets.DOCS_SSH_KEY }} docs-ssh-host-key: ${{ secrets.DOCS_SSH_HOST_KEY }} httpdocs-path: /spring-boot/antora/reference + env: + BUILD_REFNAME: ${{ github.event.inputs.build-refname }} + BUILD_VERSION: ${{ github.event.inputs.build-version }} - name: Bust Cloudflare Cache uses: spring-io/spring-doc-actions/bust-cloudflare-antora-cache@v0.0.17 with: