Skip to content

Migrate to FastAPI lifespan #171

Migrate to FastAPI lifespan

Migrate to FastAPI lifespan #171

Workflow file for this run

name: Docs
"on":
push:
branches:
- main
- master
- "tickets/**"
paths:
- "docs/**"
- "src/**.py"
- "CHANGELOG.md"
tags:
- "*"
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install graphviz and ImageMagick
run: sudo apt-get install graphviz imagemagick
- name: Run tox
uses: lsst-sqre/run-tox@v1
with:
python-version: "3.11"
tox-envs: "docs"
- name: Upload documentation
uses: lsst-sqre/ltd-upload@v1
with:
project: "noteburst"
dir: "docs/_build/html"
username: ${{ secrets.LTD_USERNAME }}
password: ${{ secrets.LTD_PASSWORD }}