Documentation #2263
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
--- | |
# yamllint disable rule:line-length | |
name: Documentation | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: ["main", "release-*"] | |
pull_request: | |
branches: ["main", "release-*"] | |
workflow_dispatch: | |
jobs: | |
build-docs: | |
name: Build docs | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@d171c3b028d844f2bf14e9fdec0c58114451e4bf | |
- name: Install prereqs | |
run: | | |
echo 'APT::Acquire::Retries "5";' | sudo tee /etc/apt/apt.conf.d/80-retries | |
sudo apt-get update | |
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pip python3-venv | |
- name: Build docs | |
run: | | |
cd docs | |
. ./setup-env.sh | |
make html |