Bump version to v0.31.0 #72
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: Publish documentation website | |
on: | |
push: | |
branches: | |
- main | |
- doc/init-sphinx | |
jobs: | |
publish-docs: | |
name: Publish docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
cache: poetry | |
- name: Install dependencies | |
run: poetry install --without dev --without ci | |
- name: Build sphinx documentation website | |
run: poetry run poe docs | |
- name: Publish documentation website to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/_build | |
commit_message: ${{ github.event.head_commit.message }} |