From c6906740e7670000e4e4bd1091a36bc6236446e9 Mon Sep 17 00:00:00 2001 From: Pabloo22 Date: Wed, 17 Jul 2024 19:43:09 +0200 Subject: [PATCH] [CI + BugFix] Change publish dir for documentation --- .github/workflows/publish-docs.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 44a4c17..e2748d8 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -29,14 +29,12 @@ jobs: - name: Build Documentation run: | - cd docs - poetry run make html - touch build/html/.nojekyll + poetry run sphinx-build -b html docs/source/ html - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs/build/html + publish_dir: html force_orphan: true \ No newline at end of file