Skip to content

Commit 5de5682

Browse files
committed
tweak CI docs-deploy
1 parent 5a367d5 commit 5de5682

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/new_version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
python -m pip install --upgrade pip
2020
python -m pip install tox
2121
- name: Update docs
22-
run: tox -e docs-deploy
22+
run: tox -e docs-deploy -- --force
2323

2424
test:
2525
runs-on: ubuntu-latest

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ deps =
121121
122122
[testenv:docs-deploy]
123123
deps = {[testenv:docs]deps}
124-
commands = mkdocs gh-deploy --clean
124+
commands = mkdocs gh-deploy {posargs:--clean}
125125
"""
126126

127127
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)