Skip to content

Commit

Permalink
Only install doc requirements when publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed Oct 30, 2020
1 parent 95b8d73 commit 67471fc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,9 @@ jobs:
python -m twine upload dist/*
# Docuemntation
- name: Install doc dependencies
run: |
pip install -r requirements.txt
pip install -r docs/requirements.txt
run: pip install -r docs/requirements.txt
- name: Build documentation
run: |
python -m sphinx docs/ docs/_build/ -b html
run: python -m sphinx docs/ docs/_build/ -b html
- name: Deploy documentation to Github pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit 67471fc

Please sign in to comment.