Skip to content

Commit 09cb612

Browse files
author
mofeng-git
committed
添加Git子模块配置并更新CI工作流以使用最新的checkout版本
1 parent bf2d89b commit 09cb612

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,14 @@ jobs:
1414
pages: write
1515
id-token: write
1616
steps:
17-
- uses: actions/checkout@v1
17+
- uses: actions/checkout@v4
1818

1919
- name: Setup Hugo
2020
uses: peaceiris/actions-hugo@v3
2121
with:
2222
hugo-version: latest
2323
extended: true
2424

25-
- name: Clone Hugo Theme
26-
run: git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1
27-
2825
- name: Build
2926
run: hugo
3027

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/PaperMod"]
2+
path = themes/PaperMod
3+
url = https://github.com/adityatelange/hugo-PaperMod.git

0 commit comments

Comments
 (0)