Skip to content

Commit ecfd39f

Browse files
committed
修复构建脚本。
1 parent e34ae90 commit ecfd39f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build_deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0 # Not needed if lastUpdated is not enabled
2828
- name: Setup Node
29-
uses: actions/setup-node@v3
29+
uses: actions/setup-node@v4
3030
with:
3131
node-version: 21
3232
cache: yarn
@@ -36,8 +36,9 @@ jobs:
3636
run: |
3737
yarn run docs:build
3838
- name: Upload artifact
39-
uses: actions/upload-pages-artifact@v2
39+
uses: actions/upload-artifact@v4
4040
with:
41+
name: vitepress-build-output
4142
path: .vitepress/dist
4243
- name: copy file via ssh key
4344
uses: appleboy/[email protected]

0 commit comments

Comments
 (0)