Skip to content

Commit

Permalink
12
Browse files Browse the repository at this point in the history
  • Loading branch information
gezhaoyou committed Feb 2, 2024
1 parent 7221568 commit 61c2792
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,19 @@ jobs:
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
- name: Setup Node
uses: actions/setup-node@v3
working-directory: docs
with:
node-version: 18
cache: npm # or pnpm / yarn
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install dependencies
working-directory: docs
run: npm ci # or pnpm install / yarn install / bun install
- name: Build with VitePress
working-directory: docs
- name: Build with VitePress
run: |
npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
touch docs/.vitepress/dist/.nojekyll
working-directory: docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
Expand Down

0 comments on commit 61c2792

Please sign in to comment.