Skip to content

Merge upstream, include GitHub Actions to deploy PRs to staging environment #11

Merge upstream, include GitHub Actions to deploy PRs to staging environment

Merge upstream, include GitHub Actions to deploy PRs to staging environment #11

name: Build docs preview
on:
pull_request:
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@b1de5da23ed0a6d14e0aeee8ed52fdd87af2363c # v2.0.2
with:
macos-skip-brew-update: "true"
- name: Install nox
run: pip install nox
- name: Build documentation
run: nox -s docs
- name: Upload client as artifact
uses: actions/upload-artifact@v4
with:
name: docs
path: |
dist/docs/