Skip to content

Merge pull request #12560 from canonical/dependabot/github_actions/st… #2357

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

Merge pull request #12560 from canonical/dependabot/github_actions/st… #2357

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