From 005bf23993219ae591ea4b00c906acd1db9ea5b9 Mon Sep 17 00:00:00 2001 From: Ugur Bayindir Date: Wed, 11 Oct 2023 11:10:25 +0100 Subject: [PATCH] Documentation deployment fix --- .github/workflows/publish-docs.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 057951d..a2199bc 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -18,12 +18,19 @@ jobs: with: python-version: 3.9 + - name: Install Poetry + run: | + curl -sSL https://install.python-poetry.org | python - + export PATH="$HOME/.poetry/bin:$PATH" + poetry --version + - name: Install Dependencies and Build Documentation run: | - sudo apt-get install python3-sphinx - pip install sphinx-rtd-theme + poetry install -E docs cd docs - make html + poetry run make html + env: + POETRY_VIRTUALENVS_IN_PROJECT: true - name: Deploy documentation. if: ${{ github.event_name == 'push' }}