diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 6db95ac77..8cabef999 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -40,7 +40,8 @@ jobs: - name: Deploy run: | - export MAJOR_VERSION=${{ github.ref:0:3 }} + FULL_VERSION=${{ github.ref }} + export MAJOR_VERSION=${FULL_VERSION:0:3} echo "OWNER: ${REPO_OWNER}. BUILD: ${MAJOR_VERSION}" bash ./docs/build-docs.sh push $REPO_OWNER env: