From b491b87a266b86188e065ca72bd723b10b07a83e Mon Sep 17 00:00:00 2001 From: Ameyanagi <77273474+Ameyanagi@users.noreply.github.com> Date: Mon, 8 Jan 2024 02:00:29 -0500 Subject: [PATCH] fixed github workflow --- .github/workflows/documentation.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 +