Bump jinja2 from 3.1.4 to 3.1.5 (#280) #141
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
--- | |
# referenced from Tomás Farías Santana via | |
# https://tomasfarias.dev/posts/sphinx-docs-with-poetry-and-github-pages/ | |
name: publish docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Setup for poetry | |
uses: ./.github/actions/setup-poetry | |
- name: poetry deps | |
run: poetry install | |
- name: Build documentation | |
run: | | |
mkdir pages | |
touch pages/.nojekyll | |
cd docs | |
poetry run sphinx-build -b html source _build | |
cp -r _build/* ../pages/ | |
- name: Deploy documentation | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: pages | |
folder: pages |