Skip to content

add build workflow

add build workflow #5

Workflow file for this run

# vim:sw=2:ts=2
# build html version of docs to check if it was successful
name: build
# on events
on:
pull_request:
branches:
- master
- 'feature/*'
jobs:
sphinx-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx sphinx_copybutton myst-parser furo pygments
# - name: Build docs
# run: |
# make clean html SPHINXOPTS="-W --keep-going -n"
- uses: ammaraskar/sphinx-action@master
with:

Check failure on line 33 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
build-command: "make clean html SPHINXOPTS="-W --keep-going -n"