Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v3


- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -32,7 +31,7 @@ jobs:
with:
# this should match the `pages` option in your adapter-static options
path: 'build/'

g
deploy:
needs: build_site
runs-on: ubuntu-latest
Expand Down
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"preview": "vite preview",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write .",
"deploy": "gh-pages -d build -t true"
"deploy": "vite build && vite gh-pages -d build -t true"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^2.0.0",
Expand All @@ -26,7 +26,7 @@
"type": "module",
"dependencies": {
"bootstrap": "5.3.2",
"gh-pages": "^6.1.0",
"gh-pages": "^6.1.1",
"mdsvex": "^0.11.0",
"sass": "^1.69.4",
"svelte-preprocess": "^5.0.4"
Expand Down
1 change: 1 addition & 0 deletions src/routes/+layout.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const prerender = true
1 change: 0 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
theme = window.localStorage.getItem('theme');
theme ? setTheme(theme) : setTheme('forest')
})
export const prerender = true;

</script>
<ThemeSelect {setTheme} {currentTheme} />
Expand Down