Remove legacy IndieKit auth config from static blog repo
This commit is contained in:
@@ -26,4 +26,3 @@ AUTHOR_AVATAR=/images/avatar.jpg
|
||||
AUTHOR_TITLE=
|
||||
AUTHOR_PRONOUN=
|
||||
SITE_LOCALE=de
|
||||
INDIEKIT_PASSWORD=
|
||||
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
@@ -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
|
||||
|
||||
@@ -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",
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user