2 Commits

Author SHA1 Message Date
grabowski 3274afb677 ci(validate): stub required env vars so build-time analyse passes
Validate / validate (push) Successful in 29s
Deploy to LXC / deploy (push) Failing after 2m27s
src/lib/server/env.ts validates DATABASE_URL, SESSION_SECRET,
STORAGE_SIGNING_SECRET, and PUBLIC_BASE_URL with Zod and throws
when missing. SvelteKit's analyse step imports it during build, so
CI needs values that satisfy the schema shape — they never connect
to anything.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 11:11:47 +07:00
grabowski c43fdc4716 ci(deploy): add gitea LXC deploy + validate workflows
Deploy to LXC / deploy (push) Failing after 3s
Validate / validate (push) Failing after 26s
Mirrors the buildfor_life_budget workflow pair: Gitea runs both
deploy and validate, GitHub mirrors validate only. Differences from
the sibling: pnpm + fnm instead of npm, Node pinned via .node-version,
and the repo is cloned over public HTTPS so no separate deploy key
is needed for git.b4l.co.th. Document required Gitea secrets in
DEPLOYMENT.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 11:02:56 +07:00