Skip to content

Commit b08011d

Browse files
committed
ci(pages): fix deploy — raise Node heap, deploy on every main push, add .nojekyll
Made-with: Cursor
1 parent 187e0f6 commit b08011d

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/deploy-pages.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name: Deploy website to GitHub Pages
33
on:
44
push:
55
branches: [main]
6-
paths:
7-
- 'website/**'
8-
- 'src/**'
9-
- '.github/workflows/deploy-pages.yml'
106
workflow_dispatch:
117

128
permissions:
@@ -35,7 +31,9 @@ jobs:
3531
env:
3632
# Matches https://<owner>.github.io/<repo>/
3733
VITE_BASE: /${{ github.event.repository.name }}/
38-
run: npm ci && npm run build
34+
# Vite + Mermaid/Shiki can exceed default Node heap on ubuntu-latest
35+
NODE_OPTIONS: --max-old-space-size=6144
36+
run: node -v && npm -v && npm ci && npm run build
3937

4038
- uses: actions/upload-pages-artifact@v3
4139
with:

website/public/.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)