CI¶
Every job runs on the organisation's boxd-public runner, and every action is pinned by commit. There are two workflows.
.github/workflows/ci.yml¶
docscreates a virtual environment, installsdocs/requirements.txtand runsmkdocs build --strict. It runs on every pull request and every push tomaster.cineedsdocsand runs the plugin's whole gate: the committed bundle check, lint, the type check, the tests, the pack test,plugin-kit checkandplugin-kit docs --check.
ci is the required status check. A docs build that fails stops it, so a broken link or a page missing from nav fails the pull request.
.github/workflows/docs.yml¶
The publish workflow builds the site and deploys it to GitHub Pages. Its deploy job carries:
A pull request builds the site in the docs job of ci.yml and never deploys. A manual run from another branch builds the site and stops. Only a push to master deploys.
Locally¶
Run the same commands:
npm ci --ignore-scripts
npm run check
python3 -m venv .venv && .venv/bin/pip install -r docs/requirements.txt
.venv/bin/mkdocs build --strict
See Testing and checks for what each check proves.