diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 948517156..e4b680250 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,6 +26,9 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Checkout submodules + run: git submodule update --init --recursive --remote + - name: Get twikoo version id: twikoo run: | @@ -55,9 +58,6 @@ jobs: find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec convert {} {}.webp \; find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec convert {} {}.avif \; - - name: Checkout submodules - run: git submodule update --init --recursive --remote - - name: Setup Hugo uses: peaceiris/actions-hugo@v3 with: