Skip to content

Commit 56710f7

Browse files
committed
versioned docs in ci
1 parent 7020553 commit 56710f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: test and deploy docs
1+
name: deploy docs and publish package
22
on:
33
push:
4-
branches:
5-
- main
4+
tags:
5+
- "*"
66
permissions:
77
contents: write
88
jobs:
@@ -21,4 +21,4 @@ jobs:
2121
cache-dependency-path: 'pyproject.toml'
2222
- run: pip install -e .\[all,docs\]
2323
- run: pytest -x -vv --cov=src tests/
24-
- run: mkdocs gh-deploy --force
24+
- run: mike deploy -u -p ${{ github.ref_name }} latest

0 commit comments

Comments
 (0)