Skip to content

Test build of docs. #152

Test build of docs.

Test build of docs. #152

Workflow file for this run

name: Build docs
on:
push:
branches:
- main
jobs:
build:
strategy:
matrix:
python-version: [ 3.11 ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .
python -m pip install -r docs/requirements.txt
- name: Build docs
run: |
mkdocs build
mkdocs build # twice, see https://github.com/patrick-kidger/pytkdocs_tweaks
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3

Check failure on line 36 in .github/workflows/build_docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_docs.yml

Invalid workflow file

You have an error in your yaml syntax on line 36
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
publish_branch: gh-pages