Skip to content

Commit

Permalink
docs: don't push patch versions (#2824)
Browse files Browse the repository at this point in the history
  • Loading branch information
itaysk committed Sep 7, 2022
1 parent 4839075 commit 44d7e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mkdocs-latest.yaml
Expand Up @@ -35,7 +35,7 @@ jobs:
if: ${{ github.event.inputs.version == '' }}
run: |
VERSION=$(echo ${{ github.ref }} | sed -e "s#refs/tags/##g")
mike deploy --push --update-aliases $VERSION latest
mike deploy --push --update-aliases ${VERSION%.*} latest
- name: Deploy the latest documents from manual trigger
if: ${{ github.event.inputs.version != '' }}
run: mike deploy --push --update-aliases ${{ github.event.inputs.version }} latest

0 comments on commit 44d7e8d

Please sign in to comment.