Merge upstream, include GitHub Actions to deploy PRs to staging environment #10
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
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/ |