Skip to content

Commit

Permalink
ci: fix docs jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Apr 26, 2024
1 parent a27d786 commit c460e5a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,18 @@ jobs:
- name: Install package into virtualenv
run: |
source .venv/bin/activate
make install
pip install -e .
- name: Build docs
run: |
source .venv/bin/activate
make docs
cd docs
make html
- name: Archive environment (without deps)
uses: actions/upload-artifact@v2
with:
name: html-docs
path: docs/_build/html
if: ${{ github.event.inputs.artifact == 'true' }}
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit c460e5a

Please sign in to comment.