We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7020553 commit 8156ccdCopy full SHA for 8156ccd
.github/workflows/ci.yml
@@ -1,8 +1,8 @@
1
-name: test and deploy docs
+name: deploy docs and publish package
2
on:
3
push:
4
- branches:
5
- - main
+ tags:
+ - "*"
6
permissions:
7
contents: write
8
jobs:
@@ -14,11 +14,12 @@ jobs:
14
run: |
15
git config user.name github-actions[bot]
16
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
17
+ git fetch origin gh-pages --depth=1
18
- uses: actions/setup-python@v5
19
with:
20
python-version: '3.12'
21
cache: 'pip'
22
cache-dependency-path: 'pyproject.toml'
23
- run: pip install -e .\[all,docs\]
24
- run: pytest -x -vv --cov=src tests/
- - run: mkdocs gh-deploy --force
25
+ - run: mike deploy -u -p ${{ github.ref_name }} latest
0 commit comments