---
type: Service
id: https://w3id.org/lmodel/void/knowledge/workflows/knowledge-website
genre: reference
title: Knowledge website (knowledge-website.yaml)
description: "The Knowledge website workflow, `.github/workflows/knowledge-website.yaml`, from the KTL website templates: it builds the site on a pull request or push that touches its inputs, on Mondays and by hand, and deploys it to GitHub Pages from `main` once `KNOWLEDGE_WEBSITE_ENABLED` is `true`."
resource: .github/workflows/knowledge-website.yaml
sources:
  - id: knowledge-website.yaml
    resource: .github/workflows/knowledge-website.yaml
    title: the header comment, the on key and the jobs
generated:
  by: process:ktl-librarian
  at: "2026-10-31T15:05:26Z"
status: draft
---

# Knowledge website (knowledge-website.yaml)

`.github/workflows/knowledge-website.yaml` builds the site in `website/` on a pull request or push that touches its inputs, such as the bundle, the README or `docs/`, on Mondays at 05:23 UTC and by hand. Its `build` job reads the checkout only. Its `deploy` job alone holds `pages: write` and `id-token: write`, runs in the `github-pages` Environment and deploys from `main` once `KNOWLEDGE_WEBSITE_ENABLED` is `true`.[^knowledge-website.yaml]

[^knowledge-website.yaml]: .github/workflows/knowledge-website.yaml, the header comment, the on key and the jobs
