fix deployment
All checks were successful
/ build (pull_request) Successful in 27s
/ cleanup-staging (pull_request) Successful in 4s

This commit is contained in:
kritzl 2026-07-10 14:00:52 +02:00
commit e77c83c7ec
Signed by: kritzl
SSH key fingerprint: SHA256:5BmINP9VjZWaUk5Z+2CTut1KFhwLtd0ZynMekKbtViM
3 changed files with 6 additions and 3 deletions

View file

@ -26,12 +26,14 @@ jobs:
- name: Build website - prod - name: Build website - prod
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
run: | run: |
pnpm install
pnpm build pnpm build
- name: Build website - staging - name: Build website - staging
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
run: | 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 pnpm build
- name: Deploy - Prepare keys - name: Deploy - Prepare keys

View file

@ -10,5 +10,6 @@ export default defineConfig({
}, },
vite: { vite: {
plugins: [tailwindcss()] plugins: [tailwindcss()]
} },
base: '/'
}); });

View file

@ -66,7 +66,7 @@ import {Calendar, ChevronDown} from "@lucide/astro"
Office-Programm, oder die eigene Cloud.<br><br> Office-Programm, oder die eigene Cloud.<br><br>
Wenn ihr euch mit eurer Stadtteil-Initiative, Computer-Stammtisch oder Wenn ihr euch mit eurer Stadtteil-Initiative, Computer-Stammtisch oder
Aktivisty-Gruppe an den DIDAYS beteiligen möchtet, dann schaut Aktivisty-Gruppe an den DIDAYS beteiligen möchtet, dann schaut
doch <a class="link" href="einladung-initiativen">in unsere Einladung an Gruppen</a>. doch <a class="link" href={`${import.meta.env.BASE_URL}/einladung-initiativen`}>in unsere Einladung an Gruppen</a>.
Wir freuen uns auf die Zusammenarbeit! Wir freuen uns auf die Zusammenarbeit!
</p> </p>
</div> </div>