docs: update install link in README #27
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 and deploy docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- name: Install cats with documentation helpers | |
run: python3 -m pip install '.[docs]' | |
- name: Build sphinx docs | |
run: make -C docs html | |
- name: Deploy sphinx docs | |
run: | | |
git config user.name 'github-action' | |
git config user.email 'github-action' | |
ghp-import -m 'Update sphinx docs' --push --no-history \ | |
--branch gh-pages --no-jekyll --force docs/build/html |