Skip to content

Commit

Permalink
add packageManager to docs package.json, update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
s0h311 committed Dec 5, 2024
1 parent c75c88d commit 4b3d2f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ jobs:
cache: pnpm
- name: Setup Pages
uses: actions/configure-pages@v4
- working-directory: ./docs
- name: Install dependencies
run: pnpm i
- name: Build with VitePress
run: pnpm build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist
path: .vitepress/dist

deploy:
environment:
Expand Down
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"mermaid": "^11.4.1",
"vitepress": "^1.5.0",
"vitepress-plugin-mermaid": "^2.0.17"
}
},
"packageManager": "[email protected]"
}

0 comments on commit 4b3d2f6

Please sign in to comment.