Skip to content

Commit a72563a

Browse files
committed
Fix docs publish ci
1 parent 37d58b9 commit a72563a

2 files changed

Lines changed: 3 additions & 16 deletions

File tree

.github/workflows/doc-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
git config --global user.email docs@dummy.bot.com
2424
- name: Set release notes tag
2525
run: |
26-
export RELEASE_TAG_VERSION="${{ github.event.release.tag_name }}"
27-
echo RELEASE_TAG_VERSION="${RELEASE_TAG_VERSION:1}" >> "$GITHUB_ENV"
26+
VERSION_TAG="v$(echo "${{ github.event.release.tag_name }}" | sed 's/^v//' | awk -F. '{print $1"."$2}')"
27+
echo VERSION_TAG="${VERSION_TAG}" >> "$GITHUB_ENV"
2828
- name: Build docs website
29-
run: uv run mike deploy "${RELEASE_TAG_VERSION}" --push
29+
run: uv run mike deploy "$VERSION_TAG" --push

uv.lock

Lines changed: 0 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)