Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
Signed-off-by: MojaveHao <[email protected]>
  • Loading branch information
MojaveHao authored Jan 8, 2024
1 parent 6f05fab commit d5fa8ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm # 或 pnpm / yarn
cache: yarn
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install dependencies
run: npm ci # 或 pnpm install / yarn install / bun install
run: yarn install
- name: Build with VitePress
run: |
npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
yarn docs:build
touch docs/.vitepress/dist/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
Expand Down

0 comments on commit d5fa8ac

Please sign in to comment.