From 910ea3655c331a18ec1ccc1490802eca229c299e Mon Sep 17 00:00:00 2001 From: Abhik Roy Date: Fri, 13 Oct 2023 21:02:42 +1100 Subject: [PATCH] fix(console): Fixed bump version check in publish-docs yml --- .github/workflows/publish-docs-component.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-docs-component.yml b/.github/workflows/publish-docs-component.yml index 18fb7b1b72..401cd0cfb1 100644 --- a/.github/workflows/publish-docs-component.yml +++ b/.github/workflows/publish-docs-component.yml @@ -78,8 +78,8 @@ jobs: fi done; # Deploy docs with version path - if [[ "${{ env.BUMP_VERSION }}" != "" ]] && [[ -d $GITHUB_WORKSPACE/docs/${comp} ]]; then - echo "Deploying specific version of ${comp} (${{ env.BUMP_VERSION }})" + if [[ "${{ env.BUMP_VERSION }}" != "" ]] && [[ -d $GITHUB_WORKSPACE/docs/${{ env.BUMP_COMPONENT }} ]]; then + echo "Deploying specific version of $GITHUB_WORKSPACE/docs/${{ env.BUMP_COMPONENT }} (${{ env.BUMP_VERSION }})" cd $GITHUB_WORKSPACE/docs/${{ env.BUMP_COMPONENT }} export GITHUB_REF_NAME=${{ env.BUMP_VERSION }} deploy-docs