mirror of
https://github.com/luxfi/docs.git
synced 2026-09-24 00:25:32 +00:00
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:
@@ -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:
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user