Knowledge website (knowledge-website.yaml)
workflows/knowledge-websiteNobody has checked this yet
still a draft
Written 2026-10-28 by ktl-librarian (automation).
The full record
- Checks
- none recorded
- Sources
- Pointed to by
- github-actions documentation site (depends on)
- Security policy (references)
- Graph
- Open this concept in the knowledge graph
- IRI
https://w3id.org/lmodel/github-actions/knowledge/workflows/knowledge-website- Licence
- CC BY 4.0
- Files
- MarkdownJSON-LDSource on GitHubHistory on GitHub
Knowledge website (knowledge-website.yaml)
Section titled “Knowledge website (knowledge-website.yaml)”.github/workflows/knowledge-website.yaml is the workflow named “Knowledge website”. It builds the site in website/ and publishes the default branch’s build to GitHub Pages.1 NOTICE says that it derives from the ktl-website templates of the Knowledge Trust Ladder (KTL) repository.2
It runs on a push or a pull request that touches the site, the bundle, the README, docs/, the changelog, llms.txt, .linkml/, a justfile, a pyproject.toml, a uv.lock or the workflow itself. It also runs every Monday at 05:23 UTC and by hand. A header comment says that the weekly run rebuilds the site from the default branch, to catch a change that no push to those paths brings, such as the changelog’s promotion, whose commit skips CI.
build, named “Build the site (read-only)”, runs withcontents: read. A push builds on the default branch only, and a pull request or a dispatch always builds. It installs the lokf toolkit that the sidecar pins and Node.js, installs just when the site builds a folder with it, and then runsnpm run build, which checks the links between the site’s pages.deploy, named “Deploy to GitHub Pages”, holdspages: writeandid-token: write, and runs only harden-runner and GitHub’s own deploy-pages action. It runs for the default branch once the repository variableKNOWLEDGE_WEBSITE_ENABLEDistrue. Until then the workflow builds but deploys nothing.
A header comment says to tell Pages once to take its site from Actions before setting the variable, and to keep the variable unset while another publisher still deploys Pages, since two publishers overwrite each other’s site. github-actions documentation site describes the site.