Merge pull request 'fix deployment' (#5) from fix-deployment into main
All checks were successful
/ build (push) Successful in 26s

Reviewed-on: #5
This commit is contained in:
kritzl 2026-07-10 14:04:39 +02:00
commit 6e8b4f9b96
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>