v2.7.0 #51
Workflow file for this run
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: "Master Docs Publication" | |
on: | |
release: | |
types: created | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone | |
uses: actions/checkout@v2 | |
- name: Dependencies | |
run: | | |
python -m pip install --upgrade pip wheel | |
python -m pip install poetry | |
poetry install | |
- name: Directly build docs | |
run: | | |
pip install -r docs/requirements.txt | |
sphinx-build -D docs/source ./docs/build/html/ | |
- name: Deploy Docs | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/build/html |