From 25a9a481f4cdd84f0f2478e75de47a66e711b106 Mon Sep 17 00:00:00 2001 From: Liudon Date: Thu, 26 Sep 2024 21:36:18 +0800 Subject: [PATCH] fix --- .github/workflows/gh-pages.yml | 4 +++- .github/workflows/ipfs.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 4eb245e8d..d80c0a80a 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -38,7 +38,9 @@ jobs: with: # if your default branches is not master, please change it here ref: code - submodules: 'recursive' + + - name: Checkout submodules + run: git submodule update --init --recursive --remote - name: Setup Hugo uses: peaceiris/actions-hugo@v3 diff --git a/.github/workflows/ipfs.yml b/.github/workflows/ipfs.yml index 118ba1964..c293a17e4 100644 --- a/.github/workflows/ipfs.yml +++ b/.github/workflows/ipfs.yml @@ -45,7 +45,9 @@ jobs: with: # if your default branches is not master, please change it here ref: code - submodules: 'recursive' + + - name: Checkout submodules + run: git submodule update --init --recursive --remote - name: Setup Hugo uses: peaceiris/actions-hugo@v3