diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 6c94186..8d0d76e 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -1,7 +1,7 @@ name: Docs on: [push, pull_request] permissions: - contents: write + contents: write jobs: docs: runs-on: ubuntu-latest @@ -14,7 +14,7 @@ jobs: pip install -r requirements.txt - name: Sphinx build run: | - sphinx-build docs docs/_build + make docs - name: Deploy uses: peaceiris/actions-gh-pages@v3 if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} @@ -22,4 +22,5 @@ jobs: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/_build/ - force_orphan: true \ No newline at end of file + force_orphan: true +