mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamAware-docs
synced 2025-04-29 13:46:41 +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
|
> src/.vuepress/dist/.nojekyll
|
||||||
|
|
||||||
- name: 上传工件
|
- name: 上传工件
|
||||||
uses: actions/upload-pages-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
name: github-pages
|
||||||
path: src/.vuepress/dist
|
path: src/.vuepress/dist
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: build
|
needs: build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user