krz/krz.sh

clone: git clone https://gitbay.org/krz/krz.sh.git

e4076ac972627afc8dd36d8d8d58e1b85b99969d

verified · cmc

author: Christian Cleberg <hello@cleberg.net> · 2026-08-12T05:32:23Z

readme: describe the actual deploy path

the github pages workflow it referenced does not exist; deploys go
through .githooks/pre-push to homelab. note that hooks need enabling
per checkout, and that cloudflare caches assets for a year.
 README.nfo | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/README.nfo b/README.nfo
index 859d450..c9f683c 100644
--- a/README.nfo
+++ b/README.nfo
@@ -24,8 +24,20 @@ STRUCTURE
   assets/          logo sources; build.sh regenerates the icons
 
 DEPLOY
-  pushing to main builds and publishes to github pages via
-  .github/workflows/deploy.yml. the custom domain is in static/CNAME.
+  pushing main runs .githooks/pre-push, which builds with zola and
+  rsyncs public/ to homelab:/var/www/krz.sh/. the sync uses --delete,
+  so the remote mirrors public/ exactly.
+
+  git does not clone hooks. enable them once per checkout:
+
+      git config core.hooksPath .githooks
+
+  cloudflare fronts krz.sh and caches static assets for a year. asset
+  urls in templates/base.html are cachebusted so changes propagate;
+  anything else needs a manual purge.
+
+  static/CNAME is left over from github pages and no longer sets the
+  domain.
 
 ┌──────────────────────────────────────────────────────────────┐
 │  krz.sh                                                      │