Remove legacy IndieKit auth config from static blog repo

This commit is contained in:
svemagie
2026-03-08 04:41:43 +01:00
parent d7bb8f0c52
commit 5722e80c8e
3 changed files with 1 additions and 78 deletions

View File

@@ -25,5 +25,4 @@ ACTIVITYPUB_HANDLE=
AUTHOR_AVATAR=/images/avatar.jpg
AUTHOR_TITLE=
AUTHOR_PRONOUN=
SITE_LOCALE=de
INDIEKIT_PASSWORD=
SITE_LOCALE=de

View File

@@ -39,7 +39,6 @@ jobs:
echo "AUTHOR_TITLE=${{ secrets.AUTHOR_TITLE }}" >> .env
echo "AUTHOR_PRONOUN=${{ secrets.AUTHOR_PRONOUN }}" >> .env
echo "SITE_LOCALE=${{ secrets.SITE_LOCALE }}" >> .env
echo "INDIEKIT_PASSWORD=${{ secrets.INDIEKIT_PASSWORD }}" >> .env
- name: Build site
run: npm run build

View File

@@ -1,75 +0,0 @@
export default {
url: "https://blog.giersig.eu",
// Debug-Level erhöhen
debug: "indiekit:*",
application: {
name: "Indiekit",
admin: {
username: "admin@blog.giersig.eu",
password: process.env.INDIEKIT_PASSWORD
}
},
"@indiekit/endpoint-auth": {
publicUrl: "https://blog.giersig.eu"
},
publication: {
me: "https://blog.giersig.eu",
postTypes: [
{
type: "article",
name: "Artikel",
post: {
path: "src/posts/{slug}.md",
url: "https://blog.giersig.eu/posts/{slug}/",
},
},
{
type: "note",
name: "Notiz",
post: {
path: "src/notes/{slug}.md",
url: "https://blog.giersig.eu/notes/{slug}/",
},
},
{
type: "bookmark",
name: "Lesezeichen",
post: {
path: "src/bookmarks/{slug}.md",
url: "https://blog.giersig.eu/bookmarks/{slug}/",
},
},
],
},
secret: process.env.SECRET,
mongodbUrl: `mongodb://indiekit:${process.env.MONGO_PASSWORD}@10.100.0.20:27017/indiekit`,
plugins: [
"@indiekit/store-github",
"@rmdes/indiekit-endpoint-posts",
"@rmdes/indiekit-endpoint-auth",
"@rmdes/indiekit-endpoint-share",
"@rmdes/indiekit-endpoint-github",
"@rmdes/indiekit-endpoint-webmention-io",
"@rmdes/indiekit-endpoint-conversations",
// "@rmdes/indiekit-endpoint-activitypub",
],
"@indiekit/store-github": {
user: "svemagie",
repo: "blog",
branch: "main",
},
"@rmdes/indiekit-endpoint-github": {
token: process.env.GITHUB_TOKEN,
user: "svemagie",
},
"@rmdes/indiekit-endpoint-webmention-io": {
token: process.env.WEBMENTION_IO_TOKEN,
},
"@rmdes/indiekit-endpoint-conversations": {
enabled: true,
},
"@rmdes/indiekit-endpoint-activitypub": {
username: "blog.giersig.eu",
},
};