begin work on v0.4 #29
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: Docs | |
on: [push] | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- name: Install dependencies | |
run: | | |
pip install sphinx sphinx_rtd_theme | |
- name: Sphinx build | |
run: | | |
make -C docs html | |
- name: Initialize Pages | |
uses: actions/configure-pages@v3 | |
- name: Upload page artifacts | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: './docs/_build/html' | |
- name: Deploy Pages | |
id: deployment | |
uses: actions/deploy-pages@v2 |