fix: github deploy action

This commit is contained in:
Acbox
2026-01-12 19:01:19 +08:00
parent c94b8c4baa
commit e676154057
3 changed files with 12 additions and 13 deletions
+2 -6
View File
@@ -55,14 +55,10 @@ jobs:
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: |
cd docs
pnpm install --frozen-lockfile
run: pnpm install --no-frozen-lockfile
- name: Build with VitePress
run: |
cd docs
pnpm run build
run: pnpm --filter @memoh/docs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
-7
View File
@@ -12,12 +12,5 @@
"devDependencies": {
"vitepress": "^1.6.0",
"vue": "^3.5.0"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search"
]
}
}
}
+10
View File
@@ -18,6 +18,9 @@
"db:studio": "pnpm --filter @memoh/db studio",
"telegram:start": "pnpm --filter @memoh/platform-telegram start",
"cli": "pnpm --filter @memoh/client start",
"docs:dev": "pnpm --filter @memoh/docs dev",
"docs:build": "pnpm --filter @memoh/docs build",
"docs:preview": "pnpm --filter @memoh/docs preview",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "vitest"
@@ -36,5 +39,12 @@
},
"dependencies": {
"dotenv": "^17.2.3"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search"
]
}
}
}