From fe054fe810dbb0451c2d89f2a845912ab663291b Mon Sep 17 00:00:00 2001 From: Ayden Meng Date: Wed, 4 Dec 2024 17:50:19 +0800 Subject: [PATCH] CI: fix build error --- .github/workflows/deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 62c7c3e..eea0694 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,14 +18,16 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: - hugo-version: "latest" + hugo-version: + - 'latest' + - '0.124.0' extended: true - name: Build Web run: hugo --gc --minify --cleanDestinationDir - name: Deploy Web - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v2 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PUBLISH_BRANCH: gh-pages