- uses: actions/setup-python@v5
- name: Install dependencies
run: |
- pip install sphinx sphinx_rtd_theme myst_parser
+ pip install sphinx pallets-sphinx-themes sphinxcontrib-mermaid sphinx-new-tab-link sphinx-click
- name: Sphinx build
run: |
sphinx-build doc _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'}}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}