Compare commits

...

2 commits

Author SHA1 Message Date
e77c83c7ec
fix deployment
All checks were successful
/ build (pull_request) Successful in 27s
/ cleanup-staging (pull_request) Successful in 4s
2026-07-10 14:03:36 +02:00
01001ee935 Merge pull request 'ui-fixes' (#4) from ui-fixes into main
Some checks failed
/ build (push) Failing after 16s
Reviewed-on: #4
2026-07-10 13:49:23 +02:00
3 changed files with 6 additions and 3 deletions

View file

@ -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

View file

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

View file

@ -66,7 +66,7 @@ import {Calendar, ChevronDown} from "@lucide/astro"
Office-Programm, oder die eigene Cloud.<br><br>
Wenn ihr euch mit eurer Stadtteil-Initiative, Computer-Stammtisch oder
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!
</p>
</div>