Skip to content

Commit 85f0926

Browse files
committed
Remove unnecessary manual stable alias
1 parent f86cb00 commit 85f0926

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

.github/workflows/docs-publish.yml

-13
Original file line numberDiff line numberDiff line change
@@ -65,24 +65,11 @@ jobs:
6565
VERSION_TAG=$(uv run vspect read . "${{ github.event.inputs.version-format }}")
6666
echo "VERSION_TAG=${VERSION_TAG}" | tee -a $GITHUB_OUTPUT
6767
68-
- name: Retitle old stable version
69-
if: github.event.inputs.is-stable == 'true'
70-
working-directory: docs/
71-
continue-on-error: true
72-
run: |
73-
VERSION_JSON=$(uv run mike list stable -j | tee /dev/stderr)
74-
TITLE=$(echo $VERSION_JSON | jq -r '.title' | sed 's/ (stable)//')
75-
echo "TITLE=${TITLE}"
76-
uv run mike retitle stable "${TITLE}"
77-
7868
- name: Deploy as version
7969
if: github.event.inputs.deploy-as == 'version'
8070
working-directory: docs/
8171
run: |
8272
TITLE=$(uv run vspect read .. "v{version}")
83-
if [[ "${{ github.event.inputs.is-stable }}" == "true" ]]; then
84-
TITLE="${TITLE} (stable)"
85-
fi
8673
TAG=${{ steps.get-version-tag.outputs.VERSION_TAG }}
8774
uv run mike deploy --push $TAG --title="${TITLE}"
8875

0 commit comments

Comments
 (0)