commit b47c1da8c8cfa5dc92171f834e0a842c8b031099
parent d6eb1f90b72c1d5c6382745b23a7b3e2c34fbfc6
Author: MTRNord <mtrnord1@gmail.com>
Date: Mon, 18 Apr 2022 22:45:08 +0200
Try fixing the base path
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml
@@ -44,7 +44,7 @@ jobs:
if: ${{ github.ref != 'refs/heads/main' }}
run: |
npm ci
- npm run build
+ npx tsc && npx vite build --base /pr-${{ github.event.pull_request.number }}
- name: Deploy to gh-pages
if: ${{ github.ref != 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v3