diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 4c1470f..60f091f 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -10,18 +10,15 @@ jobs: - uses: actions/setup-python@v3 - name: Install dependencies run: | - pip install sphinx - - name: Debug - run: | - echo "GitHub Workspace: $GITHUB_WORKSPACE" + pip install sphinx sphinx_rtd_theme - name: Sphinx build run: | - sphinx-build -build -b html $GITHUB_WORKSPACE/docs/source $GITHUB_WORKSPACE/docs/build + sphinx-build -build -b html docs/source dosc/build - name: Deploy uses: peaceiris/actions-gh-pages@v3 if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/dev/python_repo' }} with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: /docs/build/_modules + publish_dir: ./docs/build/_modules force_orphan: true \ No newline at end of file