diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index fe29d80bc..e0c184150 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -191,12 +191,12 @@ jobs: run: pip wheel --no-deps -w dist . - name: Install distribution run: pip install .//dist//*.whl - - run: echo ${{ vars.BUILD_GALLERY }} + - run: echo ${{ env.BUILD_GALLERY }} - name: Build documentation - if: ${{ vars.BUILD_GALLERY }} + if: ${{ env.BUILD_GALLERY }} run: sphinx-build -D plot_gallery=0 doc build//doc - name: Build documentation - if: ${{ vars.BUILD_GALLERY }} + if: ${{ env.BUILD_GALLERY }} run: sphinx-build doc build//doc - name: Zip documentation run: |