Commit 85f0926 1 parent f86cb00 commit 85f0926 Copy full SHA for 85f0926
File tree 1 file changed +0
-13
lines changed
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -65,24 +65,11 @@ jobs:
65
65
VERSION_TAG=$(uv run vspect read . "${{ github.event.inputs.version-format }}")
66
66
echo "VERSION_TAG=${VERSION_TAG}" | tee -a $GITHUB_OUTPUT
67
67
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
-
78
68
- name : Deploy as version
79
69
if : github.event.inputs.deploy-as == 'version'
80
70
working-directory : docs/
81
71
run : |
82
72
TITLE=$(uv run vspect read .. "v{version}")
83
- if [[ "${{ github.event.inputs.is-stable }}" == "true" ]]; then
84
- TITLE="${TITLE} (stable)"
85
- fi
86
73
TAG=${{ steps.get-version-tag.outputs.VERSION_TAG }}
87
74
uv run mike deploy --push $TAG --title="${TITLE}"
88
75
You can’t perform that action at this time.
0 commit comments