fix: read store-github user/repo from env for Gitea
Deploy Indiekit Server / deploy (push) Successful in 1m14s
Deploy Indiekit Server / deploy (push) Successful in 1m14s
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 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -320,8 +320,8 @@ export default {
|
|||||||
mountPath: "/micropub",
|
mountPath: "/micropub",
|
||||||
},
|
},
|
||||||
"@indiekit/store-github": {
|
"@indiekit/store-github": {
|
||||||
user: githubUsername,
|
user: process.env.GITEA_CONTENT_USER || githubUsername,
|
||||||
repo: "blog",
|
repo: process.env.GITEA_CONTENT_REPO || "indiekit-blog",
|
||||||
branch: "main",
|
branch: "main",
|
||||||
token: githubContentToken,
|
token: githubContentToken,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user