From b2273104f157b3d8c8698d8e56b72b9bf92a5f59 Mon Sep 17 00:00:00 2001
From: kritzl
Date: Fri, 10 Jul 2026 14:00:52 +0200
Subject: [PATCH 1/2] fix deployment
---
.forgejo/workflows/deploy-docs.yaml | 4 +++-
astro.config.mjs | 3 ++-
src/pages/index.astro | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/.forgejo/workflows/deploy-docs.yaml b/.forgejo/workflows/deploy-docs.yaml
index ce7942c..63ac4b1 100644
--- a/.forgejo/workflows/deploy-docs.yaml
+++ b/.forgejo/workflows/deploy-docs.yaml
@@ -26,12 +26,14 @@ jobs:
- name: Build website - prod
if: github.event_name != 'pull_request'
run: |
+ pnpm install
pnpm build
- name: Build website - staging
if: github.event_name == 'pull_request'
run: |
- #sed -i "s#site_url: https://didays.de#site_url: https://staging.didays.de/pr${{ github.event.pull_request.number }}/#" mkdocs.yml
+ sed -i "s#base: '/'#base: '/pr${{ github.event.pull_request.number }}'#" astro.config.mjs
+ pnpm install
pnpm build
- name: Deploy - Prepare keys
diff --git a/astro.config.mjs b/astro.config.mjs
index cb49ffc..5075a9f 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -10,5 +10,6 @@ export default defineConfig({
},
vite: {
plugins: [tailwindcss()]
- }
+ },
+ base: '/'
});
\ No newline at end of file
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 100b037..da0d29d 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -66,7 +66,7 @@ import {Calendar, ChevronDown} from "@lucide/astro"
Office-Programm, oder die eigene Cloud.
Wenn ihr euch mit eurer Stadtteil-Initiative, Computer-Stammtisch oder
Aktivisty-Gruppe an den DIDAYS beteiligen möchtet, dann schaut
- doch in unsere Einladung an Gruppen.
+ doch in unsere Einladung an Gruppen.
Wir freuen uns auf die Zusammenarbeit!
From e77c83c7ece4ae83a3938f31101ed0e0c21c5865 Mon Sep 17 00:00:00 2001
From: kritzl
Date: Fri, 10 Jul 2026 14:00:52 +0200
Subject: [PATCH 2/2] fix deployment
---
.forgejo/workflows/deploy-docs.yaml | 4 +++-
astro.config.mjs | 3 ++-
src/pages/index.astro | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/.forgejo/workflows/deploy-docs.yaml b/.forgejo/workflows/deploy-docs.yaml
index ce7942c..63ac4b1 100644
--- a/.forgejo/workflows/deploy-docs.yaml
+++ b/.forgejo/workflows/deploy-docs.yaml
@@ -26,12 +26,14 @@ jobs:
- name: Build website - prod
if: github.event_name != 'pull_request'
run: |
+ pnpm install
pnpm build
- name: Build website - staging
if: github.event_name == 'pull_request'
run: |
- #sed -i "s#site_url: https://didays.de#site_url: https://staging.didays.de/pr${{ github.event.pull_request.number }}/#" mkdocs.yml
+ sed -i "s#base: '/'#base: '/pr${{ github.event.pull_request.number }}'#" astro.config.mjs
+ pnpm install
pnpm build
- name: Deploy - Prepare keys
diff --git a/astro.config.mjs b/astro.config.mjs
index cb49ffc..5075a9f 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -10,5 +10,6 @@ export default defineConfig({
},
vite: {
plugins: [tailwindcss()]
- }
+ },
+ base: '/'
});
\ No newline at end of file
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 100b037..da0d29d 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -66,7 +66,7 @@ import {Calendar, ChevronDown} from "@lucide/astro"
Office-Programm, oder die eigene Cloud.
Wenn ihr euch mit eurer Stadtteil-Initiative, Computer-Stammtisch oder
Aktivisty-Gruppe an den DIDAYS beteiligen möchtet, dann schaut
- doch in unsere Einladung an Gruppen.
+ doch in unsere Einladung an Gruppen.
Wir freuen uns auf die Zusammenarbeit!