ci(docs): 设置完整检出以支持VuePress部署
设置 actions/checkout 的 fetch-depth 为 0,确保检出完整的 Git 历史记录,这是 vuepress-deploy 操作正确生成页面版本信息所必需的。同时移除配置文件中无关的空行。
This commit is contained in:
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@@ -6,6 +6,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: vuepress-deploy
|
||||
uses: jenkey2011/vuepress-deploy@master
|
||||
|
||||
Reference in New Issue
Block a user