Skip to content

Commit

Permalink
Documentation deployment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ubyndr committed Oct 11, 2023
1 parent c79ccbc commit 005bf23
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down

0 comments on commit 005bf23

Please sign in to comment.