From 18c1b3aca1c8d671bdae598cb50f1fcbfe522229 Mon Sep 17 00:00:00 2001 From: Sven Date: Tue, 31 Mar 2026 13:33:01 +0200 Subject: [PATCH] fix: read store-github user/repo from env for Gitea Hardcoded user: githubUsername (svemagie) and repo: "blog" were wrong for Gitea where the org is giersig.eu and the repo is indiekit-blog. Now reads from GITEA_CONTENT_USER / GITEA_CONTENT_REPO env vars with sensible defaults. Set in .env on server: GITEA_CONTENT_USER=giersig.eu GITEA_CONTENT_REPO=indiekit-blog Co-Authored-By: Claude Sonnet 4.6 --- indiekit.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indiekit.config.mjs b/indiekit.config.mjs index 5256ff2d..a8300c5b 100644 --- a/indiekit.config.mjs +++ b/indiekit.config.mjs @@ -320,8 +320,8 @@ export default { mountPath: "/micropub", }, "@indiekit/store-github": { - user: githubUsername, - repo: "blog", + user: process.env.GITEA_CONTENT_USER || githubUsername, + repo: process.env.GITEA_CONTENT_REPO || "indiekit-blog", branch: "main", token: githubContentToken, },