From 63cd5d9bf044ec9c8dfd43e0923031163083cb81 Mon Sep 17 00:00:00 2001 From: Amy Date: Tue, 8 Aug 2023 14:39:55 -0700 Subject: [PATCH] Update documentation.yml This patch switches to the Makefile method for building Sphinx. --- .github/workflows/documentation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index a12cb62..cc72df0 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -13,12 +13,12 @@ jobs: pip install sphinx sphinx_rtd_theme - name: Sphinx build run: | - sphinx-build doc docs/_build + make -C docs html - name: Deploy uses: peaceiris/actions-gh-pages@v3 if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs/_build/ + publish_dir: docs/_build/html force_orphan: true