Skip to content

Commit

Permalink
changed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesper Brunnstroem committed Nov 6, 2024
1 parent ddc4c6b commit 206349a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,18 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install doc dependencies
run: |
pip install setuptools
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install doc dependencies
run: |
pip install -r docs/requirements.txt
run: pip install -r docs/requirements.txt
- name: Install package dependencies
run: |
pip install .
run: pip install .
- name: Sphinx build
run: |
sphinx-build docs/source _build
run: sphinx-build docs/source _build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
with:
publish_branch: gh-pages
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
setuptools
sphinx
sphinx_rtd_theme

0 comments on commit 206349a

Please sign in to comment.