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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue