fix(console): Fixed bump version check in publish-docs yml

This commit is contained in:
Abhik Roy
2023-10-13 12:08:24 +00:00
parent ffd3736d84
commit e834d47577
3 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -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