Bump idna from 3.4 to 3.7 (#14) #49
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: | |
branches: | |
- main | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Build Tools | |
run: | | |
curl -sSL https://install.python-poetry.org | python | |
echo $HOME/.poetry/bin >> $GITHUB_PATH | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.7" | |
- name: Install Python Requirements | |
run: | | |
poetry install | |
- name: Build Docs | |
run: | | |
poetry run sphinx-apidoc -H "API Reference" -o docs/api_reference recline | |
poetry run sphinx-build -b html docs build/html | |
- name: Publish Docs | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: build/html |