Files
rollcall/site/README.md
T
Ilker ManapandClaude Fable 5.1 09772c7871
CI / agent (push) Successful in 3s
CI / site (push) Successful in 2s
CI / go (push) Successful in 28s
release / release (push) Successful in 24s
site: live at rollcall.mynodes.xyz
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-27 10:41:43 +01:00

31 lines
1012 B
Markdown

# Project website
`index.html` is a self-contained static page (no build step). CI checks that it
parses; the `deploy` workflow publishes it when these repository variables are
set in Gitea (Settings → Actions → Variables):
| Variable | Example |
|---|---|
| `SITE_HOST` | `10.0.0.11` |
| `SITE_USER` | `ilker` |
| `SITE_PATH` | `/var/www/rollcall.mynodes.xyz` |
The SSH key comes from the `SITE_SSH_KEY` secret, falling back to `PXE_SSH_KEY`.
The target directory must be writable by `SITE_USER`.
Live at https://rollcall.mynodes.xyz (host `web`, 10.0.0.11; DNS `rollcall.mynodes.xyz CNAME ev.mynodes.xyz` in PowerDNS on c1, added 2026-10-27).
## Serving it with Caddy (host `web`)
```caddyfile
rollcall.mynodes.xyz {
root * /var/www/rollcall.mynodes.xyz
file_server
encode zstd gzip
header Cache-Control "public, max-age=600"
}
```
Plus a DNS record `rollcall.mynodes.xyz CNAME ev.mynodes.xyz` (same as the
other sites on that host) and `sudo install -d -o ilker /var/www/rollcall.mynodes.xyz`.