We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f63d94 commit ae46943Copy full SHA for ae46943
.github/workflows/deploy.yml
@@ -28,18 +28,23 @@ jobs:
28
- name: Checkout
29
uses: actions/checkout@v4
30
with:
31
+ ref: ${{ github.ref }}
32
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
- - name: Setup Node
33
- uses: actions/setup-node@v4
+ - uses: actions/setup-node@v4
34
35
node-version: 20
36
- cache: npm
+ cache: 'npm'
37
+ cache-dependency-path: doc/package-lock.json
38
- name: Setup Pages
39
uses: actions/configure-pages@v4
40
- name: Install dependencies
- run: npm ci
41
+ run: |
42
+ cd doc
43
+ npm ci
44
- name: Build with VitePress
- run: npm run docs:build
45
46
47
+ npm run docs:build
48
- name: Upload artifact
49
uses: actions/upload-pages-artifact@v3
50
0 commit comments