Skip to content

Commit

Permalink
fixup! Add workflow for building the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
padix-key committed Dec 6, 2023
1 parent 7869179 commit 1854fbc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,11 @@ jobs:
run: pip wheel --no-deps -w dist .
- name: Install distribution
run: pip install .//dist//*.whl
- run: echo ${{ env.BUILD_GALLERY }}
- name: Build documentation
if: ${{ env.BUILD_GALLERY }}
if: ${{ env.BUILD_GALLERY == 'false' }}
run: sphinx-build -D plot_gallery=0 doc build//doc
- name: Build documentation
if: ${{ env.BUILD_GALLERY }}
if: ${{ env.BUILD_GALLERY == 'true' }}
run: sphinx-build doc build//doc
- name: Zip documentation
run: |
Expand Down

0 comments on commit 1854fbc

Please sign in to comment.