Skip to content

Commit

Permalink
Merge pull request #49 from lapp0/foo
Browse files Browse the repository at this point in the history
doit
  • Loading branch information
lapp0 authored Jul 20, 2024
2 parents c18d2b8 + 8ec834d commit c61e7e1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ jobs:
TAG=$(git describe --tags --abbrev=0 || echo "main")
TAG_EXISTS=$(git describe --tags --exact-match 2>/dev/null && echo "true" || echo "false")
if [ "$TAG_EXISTS" = "true" ]; then
mike deploy --update-aliases --push --branch $TAG stable
mike deploy --update-aliases --push --branch gh-pages $TAG
mike set-default stable
else
mike deploy --update-aliases --push --branch main unstable
fi
mike deploy --update-aliases --push --branch gh-pages main unstable

0 comments on commit c61e7e1

Please sign in to comment.