From 3d0b12ee9ab9e86dd6a0a53a79d26560e9052442 Mon Sep 17 00:00:00 2001 From: Fernando Cervantes Sanchez Date: Fri, 29 Sep 2023 15:16:04 -0400 Subject: [PATCH] Setting up github actions to deploy documentation to github pages --- .github/workflows/documentation.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 67a8484..aeda21c 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -13,15 +13,15 @@ jobs: - uses: actions/setup-python@v3 - name: Install dependencies run: | - pip install sphinx sphinx-rtd-theme myst-nb sphinx-autoapi + pip install sphinx sphinx-rtd-theme myst-nb sphinx-autoapi jupyter-cache - name: Sphinx build run: | - sphinx-build docs/source docs/_build + sphinx-build docs/source docs/build - name: Deploy to GitHub Pages 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/ force_orphan: true