Skip to content

Commit 63742a9

Browse files
committed
Fix BUILD_REFNAME and BUILD_VERSION settings
Update actions to use the correct `BUILD_REFNAME` and `BUILD_VERSION` environment variables. Closes gh-41573
1 parent 8b06283 commit 63742a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
env:
4242
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
4343
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
44-
REFERENCE: ${{ github.event.inputs.build-refname }}
44+
BUILD_REFNAME: ${{ github.event.inputs.build-refname }}
4545
BUILD_VERSION: ${{ github.event.inputs.build-version }}
4646
run: node run.js --no-checkout
4747
- name: Sync Documentation
@@ -52,6 +52,9 @@ jobs:
5252
docs-ssh-key: ${{ secrets.DOCS_SSH_KEY }}
5353
docs-ssh-host-key: ${{ secrets.DOCS_SSH_HOST_KEY }}
5454
httpdocs-path: /spring-boot/antora/reference
55+
env:
56+
BUILD_REFNAME: ${{ github.event.inputs.build-refname }}
57+
BUILD_VERSION: ${{ github.event.inputs.build-version }}
5558
- name: Bust Cloudflare Cache
5659
uses: spring-io/spring-doc-actions/bust-cloudflare-antora-cache@v0.0.17
5760
with:

0 commit comments

Comments
 (0)