Skip to content

Tweak trigger.

Tweak trigger. #6

Workflow file for this run

name: "Sphinx: Render docs"
on:
push:
branches:
- feature/retrieve_doc # Build from main branch
workflow_dispatch: # Manual trigger
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for versioning to work
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt # Include sphinx-multiversion in requirements.txt
- name: Build Sphinx documentation with multiversion
run: |

Check failure on line 27 in .github/workflows/sphinx.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sphinx.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
sphinx-multiversion docs/ _build/html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html