From 315910aa8bb24f6641f20b9c25044e7f43dccd35 Mon Sep 17 00:00:00 2001 From: litlighilit Date: Fri, 3 Jan 2025 22:52:55 +0800 Subject: [PATCH] fixup(ci): init theme submodule --- .github/workflows/hugo.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 272638b..9cde075 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -50,6 +50,9 @@ jobs: uses: actions/configure-pages@v5 - name: Install Node.js dependencies run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" + - name: Init Themes + run: | + git submodule update --init --recursive - name: Build with Hugo env: HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache