mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamAware-docs
synced 2025-04-29 03:16:39 +00:00
fix: 更新上传工件的 GitHub Actions 版本至 v4,并添加文件未找到时的错误处理
This commit is contained in:
parent
46af7256d1
commit
0d3dc1c7d6
4
.github/workflows/deploy-docs.yml
vendored
4
.github/workflows/deploy-docs.yml
vendored
@ -43,10 +43,12 @@ jobs:
|
||||
> src/.vuepress/dist/.nojekyll
|
||||
|
||||
- name: 上传工件
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: github-pages
|
||||
path: src/.vuepress/dist
|
||||
retention-days: 1
|
||||
if-no-files-found: error
|
||||
|
||||
deploy:
|
||||
needs: build
|
||||
|
Loading…
x
Reference in New Issue
Block a user