Skip to content

Commit a3a54f1

Browse files
committed
update to use
1 parent 1f6697b commit a3a54f1

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/docs-deploy.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
# Sample workflow for building and deploying a VitePress site to GitHub Pages
1+
# workflow for building and deploying VitePress docs site to GitHub Pages
22
#
3+
# from https://vitepress.dev/guide/deploy
34
name: Deploy VitePress site to Pages
45

56
on:
6-
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
7-
# using the `master` branch as the default branch.
87
push:
98
branches: [master]
109

11-
# Allows you to run this workflow manually from the Actions tab
1210
workflow_dispatch:
1311

1412
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -40,13 +38,13 @@ jobs:
4038
uses: actions/setup-node@v4
4139
with:
4240
node-version: 22
43-
cache: npm # or pnpm / yarn
41+
cache: yarn # or pnpm / yarn
4442
- name: Setup Pages
4543
uses: actions/configure-pages@v4
4644
- name: Install dependencies
47-
run: npm ci # or pnpm install / yarn install / bun install
45+
run: yarn install # or pnpm install / yarn install / bun install
4846
- name: Build with VitePress
49-
run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
47+
run: yarn docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
5048
- name: Upload artifact
5149
uses: actions/upload-pages-artifact@v3
5250
with:

0 commit comments

Comments
 (0)