This commit is contained in:
Sidharth Vinod
2021-05-23 00:34:28 +05:30
parent 6b1513e724
commit 8654af888c
2 changed files with 6 additions and 3 deletions
+1
View File
@@ -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
View File
@@ -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'