Skip to content

Move away from deprecated pkg_resources (#210) #108

Move away from deprecated pkg_resources (#210)

Move away from deprecated pkg_resources (#210) #108

Workflow file for this run

name: Docs
on:
workflow_dispatch:
push:
branches:
- master
- main
jobs:
docs:
name: Build and deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Install package
run: python -m pip install .[docs]
- name: Build documentation
run: |
cd docs
make
touch build/html/.nojekyll
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html