CI: Automatically build pyoxigraph documentation

pull/46/head
Tpt 4 years ago
parent 88b3807f5b
commit c539851277
  1. 14
      .github/workflows/build.yml
  2. 8
      .readthedocs.yml

@ -58,3 +58,17 @@ jobs:
working-directory: ./python/tests
- run: source ../venv/bin/activate && sphinx-build -M doctest . build
working-directory: ./python/docs
- run: source ../venv/bin/activate && sphinx-build -M html . build
working-directory: ./python/docs
- uses: actions/checkout@v2
with:
repository: oxigraph/oxigraph.github.io
path: website
- run: cp -r ./python/docs/build/html website/pyoxigraph/latest/
- run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "Updates pyoxigraph documentation"
git push
working-directory: ./website

@ -1,8 +0,0 @@
version: 2
python:
version: 3.7
install:
- method: pip
path: python
sphinx:
configuration: python/docs/conf.py
Loading…
Cancel
Save