From 5de568281bf7f300f9c3a386b63b8c3873f274d8 Mon Sep 17 00:00:00 2001 From: Alvaro Valdebenito Date: Thu, 8 Jul 2021 09:27:42 +0200 Subject: [PATCH] tweak CI docs-deploy --- .github/workflows/new_version.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/new_version.yml b/.github/workflows/new_version.yml index 07fea8f..ab4657d 100644 --- a/.github/workflows/new_version.yml +++ b/.github/workflows/new_version.yml @@ -19,7 +19,7 @@ jobs: python -m pip install --upgrade pip python -m pip install tox - name: Update docs - run: tox -e docs-deploy + run: tox -e docs-deploy -- --force test: runs-on: ubuntu-latest diff --git a/pyproject.toml b/pyproject.toml index 0f39b7a..28f9d76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -121,7 +121,7 @@ deps = [testenv:docs-deploy] deps = {[testenv:docs]deps} -commands = mkdocs gh-deploy --clean +commands = mkdocs gh-deploy {posargs:--clean} """ [tool.pytest.ini_options]