Skip to content

Update Dockerfile to 3.12.6-slim-bookworm #254

Update Dockerfile to 3.12.6-slim-bookworm

Update Dockerfile to 3.12.6-slim-bookworm #254

Workflow file for this run

name: Docs
env:
# Current supported Python version. For applications, there is generally no
# reason to support multiple Python versions, so all actions are run with
# this version. Quote the version to avoid interpretation as a floating
# point number.
PYTHON_VERSION: "3.12"
"on":
push:
branches:
- main
- master
- "tickets/**"
paths:
- "docs/**"
- "src/**.py"
- "CHANGELOG.md"
tags:
- "*"
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install graphviz and ImageMagick
run: sudo apt-get install graphviz imagemagick
- name: Run tox
uses: lsst-sqre/run-tox@v1
with:
python-version: ${{ env.PYTHON_VERSION }}
tox-envs: "docs"
tox-requirements: requirements/tox.txt
- name: Upload documentation
uses: lsst-sqre/ltd-upload@v1
with:
project: "noteburst"
dir: "docs/_build/html"
username: ${{ secrets.LTD_USERNAME }}
password: ${{ secrets.LTD_PASSWORD }}