Skip to content

Commit

Permalink
install pip . package before building
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitafedik committed Oct 10, 2024
1 parent 9a19cf9 commit 38e77ab
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/sphinx-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install sphinx sphinx_rtd_theme sphinx_autodoc_typehints
- name: Build Docs
run: |
sphinx-build -b html docs/source docs/_autobuild/html
- name: Set Python Path
run: |
echo "PYTHONPATH=$(pwd)/alframework" >> $GITHUB_ENV
Expand All @@ -38,6 +34,12 @@ jobs:
run: |
pip install .
- name: Build Docs
run: |
sphinx-build -b html docs/source docs/_autobuild/html
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/docs' # Only deploy on docs branch
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 38e77ab

Please sign in to comment.