restructure workflows
Some checks failed
Release - Build and publish docs / release (push) Failing after 26s

This commit is contained in:
Tony
2026-01-19 12:57:46 -06:00
parent 6faab5aa19
commit cc90896be8
5 changed files with 362 additions and 15 deletions

43
.github/workflows/ci-docs.yml vendored Normal file
View File

@@ -0,0 +1,43 @@
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