Skip to content

[WIP] Update doc build #32

[WIP] Update doc build

[WIP] Update doc build #32

Workflow file for this run

name: Docs build
on:
pull_request:
branches: master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install sphinx and requirements
run: |
apt-get update -y
# git needed by setuptools-scm in pyproject.toml
apt-get install -y git
pip install -e .
pip install -U -r doc/requirements-docs.txt
- name: Build Sphinx html
run: |
cd doc
make html
cd ..
- name: Upload artifacts
if: success() && github.event_name == "push"

Check failure on line 29 in .github/workflows/pr-merge-docs.yml

View workflow run for this annotation

GitHub Actions / Docs build

Invalid workflow file

The workflow is not valid. .github/workflows/pr-merge-docs.yml (Line: 29, Col: 11): Unexpected symbol: '"push"'. Located at position 35 within expression: success() && github.event_name == "push"
uses: actions/upload-artifact@v3
with:
name: html-docs
path: doc/_build/html/