From 928f9edcf6b0b64c2aeb03fe21b8e983224beaef Mon Sep 17 00:00:00 2001 From: semyonsinchenko Date: Tue, 14 May 2024 09:25:09 +0200 Subject: [PATCH] Fix CI? --- .github/workflows/site.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/site.yaml b/.github/workflows/site.yaml index 5b8ef96..351553d 100644 --- a/.github/workflows/site.yaml +++ b/.github/workflows/site.yaml @@ -14,17 +14,18 @@ jobs: - name: Install Python uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: 3.11 architecture: x64 - uses: PyO3/maturin-action@v1 with: command: develop args: -E all + before-script-linux: python3 -m venv .venv && source .venv/bin/activate # Inspired by https://blog.elmah.io/deploying-a-mkdocs-documentation-site-with-github-actions/ - name: Install & deploy run: | - pip install target/wheels/data_generation-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl[mkdocs] + source .venv/bin/activate mkdocs gh-deploy --force --clean --verbose