From a9297e5f24f30e57d9afa008b391fca2cdbe619b Mon Sep 17 00:00:00 2001 From: YaoLei <1049031269@qq.com> Date: Mon, 6 Jul 2026 14:33:55 +0800 Subject: [PATCH] Add FixIt theme clone and use --theme FixIt for build --- .gitea/workflows/deploy.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 88cf7d9..dcc8ccb 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -12,10 +12,15 @@ jobs: set -e hugo new site /tmp/hugo-site + - name: Clone FixIt theme + run: | + set -e + git clone --depth=1 http://192.168.254.5:3000/blogs/FixIt.git /tmp/hugo-site/themes/FixIt + - name: Clone repository to content directory run: | set -e - REPO_URL="http://192.168.8.126:3000/blogs/outcomes.git" + REPO_URL="http://192.168.254.5:3000/blogs/outcomes.git" if [ -n "${CI_REPOSITORY_URL:-}" ]; then REPO_URL="${CI_REPOSITORY_URL}" fi @@ -26,7 +31,7 @@ jobs: working-directory: /tmp/hugo-site run: | set -e - hugo --minify + hugo --minify --theme FixIt - name: Upload public directory uses: actions/upload-artifact@v3