We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b97c9ff commit 7097058Copy full SHA for 7097058
.github/workflows/docs.yml
@@ -1,8 +1,8 @@
1
name: Docs Deploy
2
on:
3
- push:
4
- branches:
5
- - main
+ release:
+ types:
+ - published
6
permissions:
7
contents: write
8
jobs:
@@ -32,4 +32,6 @@ jobs:
32
- name: GH Pages deploy
33
run: |
34
cd docs
35
- poetry run mkdocs gh-deploy --force
+ git pull
36
+ poetry run hatch version
37
+ poetry run mike deploy --push --update-aliases `poetry run hatch version` stable
docs/mkdocs.yml
@@ -52,6 +52,9 @@ extra:
52
analytics:
53
provider: google
54
property: G-P32VD2EBF0
55
+ version:
56
+ provider: mike
57
+ default: stable
58
nav:
59
- About: index.md
60
- Installation: installation.md
0 commit comments