diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 54f003c..8bcd316 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -16,10 +16,10 @@ jobs: pip install sphinx sphinx_rtd_theme myst_parser - name: Sphinx build run: | - sphinx-build doc _build + sphinx-build docs _build - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/add-sphinx-pipeline' }} with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }}