This repository publishes docs/wiki/ using docs/wiki.yml. The workflow lives at .github/workflows/deploy.yml.
Pipeline
uv sync— install dependencieswiki -c docs/wiki.yml check --strict -v— SHACL, JSON Schema, routes, layoutwiki -c docs/wiki.yml build --output-dir _site --site-base-url /wiki— static HTML- Upload
_site/wikias the Pages artifact deploy-pages— publish
Enable GitHub Pages → Build and deployment → GitHub Actions in repository settings.
Local preview
wiki -c docs/wiki.yml serve
# http://127.0.0.1:8080/wiki/
Custom wikis
For your own wiki, copy the workflow and change:
-cpath to your config--site-base-urlto match your Pages path (/wiki,/my-wiki, or''for root)pathinupload-pages-artifactto the directory that contains your builtindex.html
See Wiki Subcommand build for site.url_style, wiki.assets, and collision checks.
Avoid these mistakes
When using upload-pages-artifact and deploy-pages:
- Do not commit
_site/tomain— add_site/to.gitignoreand let CI build the artifact - Do not use Deploy from a branch in Pages settings — use GitHub Actions as the source
- Do not use
peaceiris/actions-gh-pagesor push to agh-pagesbranch for this pattern - Do not set artifact
pathto_sitewhensite.base_urlis/wiki— upload_site/wikiinstead - Do not run
uv syncin CI unless the repo haspyproject.tomlanduv.lock - Do not use
uv pip installon standalone wikis withoutuv venvor--system— usepip install wazootech-wikiinstead - Do not hybridize install steps — embed
skills/wiki/references/workflow-template-uv.ymlorskills/wiki/references/workflow-template-pip.ymlwholesale and substitute paths only (see Wiki Skill)
Verify Pages is wired to Actions: gh api repos/{owner}/{repo}/pages --jq '{build_type, source}' should show build_type: workflow.
Agent skill
Coding agents can use Wiki Skill (skills/wiki, deploy reference) to scaffold the workflow and align artifact paths.