Skip to content

Commit 1e7e897

Browse files
committed
fix: enable prerendering for github pages deployment
1 parent e8b7f42 commit 1e7e897

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535

3636
- name: Setup Pages
3737
uses: actions/configure-pages@v5
38+
with:
39+
enablement: true
3840

3941
- name: Install dependencies
4042
run: pnpm install --frozen-lockfile

src/routes/+layout.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export const prerender = true;
2+
export const ssr = false;

0 commit comments

Comments
 (0)