Skip to content

Bump jinja2 from 3.1.4 to 3.1.5 (#280) #141

Bump jinja2 from 3.1.4 to 3.1.5 (#280)

Bump jinja2 from 3.1.4 to 3.1.5 (#280) #141

Workflow file for this run

---
# 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