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