Merge pull request #236 from mbergen/patch-2 #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Jupyter-Book documentation π | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- master | |
- dev | |
# ---------------------------------------------------------------------------------------------------------------------- | |
defaults: | |
run: | |
shell: bash | |
working-directory: . | |
jobs: | |
test-and-build: | |
name: Build Jupyter-Book documentation | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout π | |
uses: actions/checkout@v3 | |
- name: Install PyCRAM dependencies πΌ | |
uses: py-actions/py-dependency-install@v4 | |
with: | |
path: "requirements-setuptools.txt" | |
# ---------------------------------------------------------------------------------------------------------------- | |
- name: Install Jupyter-Book dependencies πΌ | |
uses: py-actions/py-dependency-install@v4 | |
with: | |
path: "requirements.txt" | |
# ---------------------------------------------------------------------------------------------------------------- | |
- name: Install Jupyter-Book dependencies π | |
uses: py-actions/py-dependency-install@v4 | |
with: | |
path: "doc/requirements.txt" | |
# ---------------------------------------------------------------------------------------------------------------- | |
- name: Build Jupyter-Book documentation π | |
working-directory: ./doc | |
run: | | |
cd source | |
jupyter-book build . |