Skip to content

Merge pull request #12619 from canonical/dependabot/github_actions/st… #2374

Merge pull request #12619 from canonical/dependabot/github_actions/st…

Merge pull request #12619 from canonical/dependabot/github_actions/st… #2374

Workflow file for this run

name: Build Sphinx documentation
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build docs
run: make doc
- name: Print warnings
run: if [ -s doc/.sphinx/warnings.txt ]; then cat doc/.sphinx/warnings.txt; exit 1; fi
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v3
with:
name: documentation
path: doc/html