Fix path
This commit is contained in:
@@ -19,6 +19,7 @@ jobs:
|
||||
npm i -g yarn
|
||||
yarn install
|
||||
yarn version --patch --no-git-tag-version
|
||||
export CI=true
|
||||
yarn build
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
|
||||
+4
-2
@@ -15,9 +15,11 @@ const config = {
|
||||
adapter: adapter({
|
||||
pages: 'docs'
|
||||
}),
|
||||
paths: {
|
||||
paths: process.env['CI']
|
||||
? {
|
||||
base: '/mermaid-svelte-kit'
|
||||
},
|
||||
}
|
||||
: {},
|
||||
ssr: false,
|
||||
// hydrate the <div id="svelte"> element in src/app.html
|
||||
target: '#svelte'
|
||||
|
||||
Reference in New Issue
Block a user