fix: improve GitHub Pages deployment reliability

- Add packageManager field to package.json for pnpm version consistency
- Remove explicit pnpm version from workflow (reads from packageManager)
- Add .nojekyll file to prevent Jekyll processing of _next directory
- Add .nojekyll generation step to deploy workflow
This commit is contained in:
2026-01-28 11:31:05 -08:00
parent 2e8d82a118
commit 269f5fc3f4
3 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -21,8 +21,6 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup Node.js
uses: actions/setup-node@v4
@@ -39,6 +37,9 @@ jobs:
- name: Build
run: pnpm build
- name: Add .nojekyll
run: touch out/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
+1
View File
@@ -28,6 +28,7 @@
"tailwind-merge": "^3.4.0",
"zod": "^4.1.13"
},
"packageManager": "[email protected]",
"devDependencies": {
"@tailwindcss/postcss": "^4.1.18",
"@types/node": "^24.10.2",
View File