mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-09-01 04:00:28 +00:00
- docs.yml: replace mkdocs build/deploy with python docs_check.py; Mintlify deployment is handled by its own GitHub App - ci.yml: remove dead paths-ignore refs to deleted mkdocs.yml and requirements-docs.txt
40 lines
704 B
YAML
40 lines
704 B
YAML
name: Build and Deploy Documentation
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- 'docs/**'
|
|
- 'docs_check.py'
|
|
- 'CHANGELOG.md'
|
|
- 'RELEASE.md'
|
|
pull_request:
|
|
branches: [main]
|
|
paths:
|
|
- 'docs/**'
|
|
- 'docs_check.py'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: "pages"
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
build:
|
|
name: Validate Documentation
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
- name: Validate documentation
|
|
run: python docs_check.py
|