Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: adds versioning to documentation publish action. #55

Merged
merged 9 commits into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Docs Deploy
on:
push:
branches:
- main
release:
types:
- published
permissions:
contents: write
jobs:
Expand Down Expand Up @@ -32,4 +32,6 @@ jobs:
- name: GH Pages deploy
run: |
cd docs
poetry run mkdocs gh-deploy --force
git pull
poetry run hatch version
poetry run mike deploy --push --update-aliases `poetry run hatch version` stable
3 changes: 3 additions & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ extra:
analytics:
provider: google
property: G-P32VD2EBF0
version:
provider: mike
default: stable
nav:
- About: index.md
- Installation: installation.md
Expand Down
Loading
Loading