Skip to content

gh-import test

gh-import test #29

name: documentation
on:
push:
# tags: [ 'v*.*.*' ]
branches: [189-api-docs-are-broken]
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx==7.6.2 pydata-sphinx-theme myst-nb sphinx-design sphinx-autoapi==3.0.0 numpydoc ghp-import pickleshare -e .
- name: Sphinx build
run: |
cd docs/sphinx
make clean html
- name: Run ghp-import
run: |
ghp-import -n -p -f -o docs/sphinx/_build/html