fix deployment
This commit is contained in:
parent
01001ee935
commit
e77c83c7ec
3 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -10,5 +10,6 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
vite: {
|
vite: {
|
||||||
plugins: [tailwindcss()]
|
plugins: [tailwindcss()]
|
||||||
}
|
},
|
||||||
|
base: '/'
|
||||||
});
|
});
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue