Skip to content

Commit

Permalink
Update HugoAction.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shenweiyan authored Nov 6, 2024
1 parent 49eb867 commit 3c3b1bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/HugoAction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
with:
submodules: recursive # Fetch Hugo themes (true OR recursive) 获取submodule主题
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Pull & update submodules recursively
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
- name: Setup Hugo # 步骤名自取
uses: peaceiris/actions-hugo@v2 # hugo官方提供的action,用于在任务环境中获取hugo
Expand Down

0 comments on commit 3c3b1bc

Please sign in to comment.