Skip to content

Commit

Permalink
Don't publish docs on beta release (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron authored Oct 31, 2023
1 parent f72a747 commit 01b987d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,8 @@ jobs:
# We don't use {{github.ref_name}} because if triggered manually, it
# will be a branch name instead of a tag version.
VERSION=$(git describe --tags --abbrev=0)
poetry run mike deploy $VERSION latest --update-aliases --push
# Only push docs if no letters in git tag
if ! echo $VERSION | grep -q "[A-Za-z]"; then
poetry run mike deploy $VERSION latest --update-aliases --push
fi

0 comments on commit 01b987d

Please sign in to comment.