diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index d4e38e7..2587d2d 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -40,16 +40,10 @@ jobs: mkdir -p docs/_build/html/coverage # Create a directory for coverage reports cp -r htmlcov/* docs/_build/html/coverage/ # Copy coverage report to the new directory - - name: Deploy Sphinx documentation to GitHub Pages + - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/_build/html # Publish Sphinx documentation publish_branch: gh-pages # Specify the branch to publish to - - - name: Deploy coverage report to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs/_build/html/coverage # Publish coverage report - publish_branch: gh-pages # Specify the branch to publish to + force_orphan: true