Skip to content

Commit

Permalink
fix: path for action
Browse files Browse the repository at this point in the history
  • Loading branch information
greyovo committed May 3, 2024
1 parent 8827640 commit a712f4c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,16 @@ jobs:
cache: npm # 或 pnpm / yarn
- name: Setup Pages
uses: actions/configure-pages@v4
with:
path: websites
- name: Install dependencies
run: npm ci # 或 pnpm install / yarn install / bun install
run: cd website && npm ci # 或 pnpm install / yarn install / bun install
- name: Build with VitePress
run: npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist
path: websites/docs/.vitepress/dist

# 部署工作
deploy:
Expand Down

0 comments on commit a712f4c

Please sign in to comment.