From 371b9c980d97a71388e1601187ab5c5ee4b699d0 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Thu, 28 Mar 2024 17:50:33 -0400 Subject: [PATCH] Update deploy-docs.yml --- .github/workflows/deploy-docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 558a2b0b..cd24fa44 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -30,6 +30,7 @@ jobs: if: github.event.inputs.build-refname run: | git fetch --depth 1 https://github.com/$GITHUB_REPOSITORY ${{ github.event.inputs.build-refname }} + git rev-parse --abbrev-ref HEAD git checkout tags/${{ github.event.inputs.build-refname }} export BUILD_REFNAME=${{ github.event.inputs.build-refname }} echo "BUILD_REFNAME=$BUILD_REFNAME" >> $GITHUB_ENV