Skip to content
name: Build Sphinx documentation πŸ“–
on:
push:
branches:
<<<<<<< HEAD

Check failure on line 6 in .github/workflows/reusable-sphinx-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/reusable-sphinx-build.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
- dev
pull_request:
branches:
- master
- dev
=======
- MS2
>>>>>>> a27749b26775a067b9d2b550387c2c08c00dadfa
# ----------------------------------------------------------------------------------------------------------------------
defaults:
run:
shell: bash
working-directory: .
jobs:
test-and-build:
name: Build Sphinx documentation
runs-on: ubuntu-20.04
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v3
# ----------------------------------------------------------------------------------------------------------------
- name: Install PyCRAM dependencies 🍼
uses: py-actions/py-dependency-install@v4
with:
path: "requirements.txt"
# ----------------------------------------------------------------------------------------------------------------
- name: Install Sphinx dependencies πŸ“š
uses: py-actions/py-dependency-install@v4
with:
path: "doc/requirements.txt"
# ----------------------------------------------------------------------------------------------------------------
- name: Build Sphinx documentation πŸ“
working-directory: ./doc
run: |
sudo apt install pandoc
make html