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