From a819285325c0698f2bc792cda6f5ff3308734f7c Mon Sep 17 00:00:00 2001 From: Denis Mishankov Date: Wed, 6 Mar 2024 23:34:46 +0300 Subject: [PATCH] try to fix base --- .github/workflows/pages-deploy.yml | 2 +- package.json | 1 + src/lib/components/Link.svelte | 3 ++- svelte.config.js | 5 ++++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index 66ee2b7..f4201b3 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -39,7 +39,7 @@ jobs: cache: 'npm' - run: npm ci - - run: npm run build:ghp --if-present + - run: npm run build --if-present - name: Setup Pages uses: actions/configure-pages@v4 diff --git a/package.json b/package.json index c15e503..ba162b5 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "scripts": { "dev": "vite dev", "build": "vite build", + "build:ghp": "vite build --base=/string-manipulator/", "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", diff --git a/src/lib/components/Link.svelte b/src/lib/components/Link.svelte index 93b0f49..efbe40e 100644 --- a/src/lib/components/Link.svelte +++ b/src/lib/components/Link.svelte @@ -1,8 +1,9 @@ - +