Commit e4076ac972
Verified · cmc
Layout: unified · split
README.nfo +14 −2
| @@ -24,8 +24,20 @@ STRUCTURE | |||
| 24 | assets/ logo sources; build.sh regenerates the icons | 24 | assets/ logo sources; build.sh regenerates the icons |
| 25 | 25 | ||
| 26 | DEPLOY | 26 | DEPLOY |
| 27 | pushing to main builds and publishes to github pages via | 27 | pushing main runs .githooks/pre-push, which builds with zola and |
| 28 | .github/workflows/deploy.yml. the custom domain is in static/CNAME. | 28 | rsyncs public/ to homelab:/var/www/krz.sh/. the sync uses --delete, |
| 29 | so the remote mirrors public/ exactly. | ||
| 30 | |||
| 31 | git does not clone hooks. enable them once per checkout: | ||
| 32 | |||
| 33 | git config core.hooksPath .githooks | ||
| 34 | |||
| 35 | cloudflare fronts krz.sh and caches static assets for a year. asset | ||
| 36 | urls in templates/base.html are cachebusted so changes propagate; | ||
| 37 | anything else needs a manual purge. | ||
| 38 | |||
| 39 | static/CNAME is left over from github pages and no longer sets the | ||
| 40 | domain. | ||
| 29 | 41 | ||
| 30 | ┌──────────────────────────────────────────────────────────────┐ | 42 | ┌──────────────────────────────────────────────────────────────┐ |
| 31 | │ krz.sh │ | 43 | │ krz.sh │ |