From 08dfcb260595c114e8dc9069451f47b7a35bdb53 Mon Sep 17 00:00:00 2001 From: Fernando Cervantes Sanchez Date: Fri, 29 Sep 2023 16:08:38 -0400 Subject: [PATCH] Using docs/build/html as publish directory --- .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 f66dd0b..d7dcbce 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -18,11 +18,11 @@ jobs: pip install sphinx sphinx-rtd-theme myst-nb astroid==2.15.8 sphinx-autoapi jupyter-cache - name: Sphinx build run: | - sphinx-build docs/source docs/build/ + sphinx-build -M html docs/source docs/build/ - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 if: github.ref == 'refs/heads/main' with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs/build/ + publish_dir: docs/build/html