Files
cmba-bylaws/.github/workflows/ci-docs.yml
Tony ef8fd7eae6
Some checks failed
CI - Docs build check / build-check (push) Failing after 4m35s
add releasing, change ci build check directory
2026-01-19 13:41:55 -06:00

43 lines
950 B
YAML

name: CI - Docs build check
on:
pull_request:
branches: [release-candidate]
push:
branches: [release-candidate]
workflow_dispatch:
permissions:
contents: read
jobs:
build-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
cache-dependency-path: mkdocs/requirements.txt
- name: Install dependencies
run: |
set -euo pipefail
pip install -r mkdocs/requirements.txt
- name: MkDocs build
run: |
set -euo pipefail
MKDOCS_STRICT="${MKDOCS_STRICT:-true}"
STRICT_FLAG=""
if [ "${MKDOCS_STRICT}" = "true" ]; then
STRICT_FLAG="--strict"
fi
OFFLINE=true mkdocs build ${STRICT_FLAG} -f mkdocs/mkdocs.yml -d $RUNNER.TEMP/