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 7, 2023
1 parent 445a3ed commit ea3453e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,12 @@ 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 ea3453e

Please sign in to comment.