Add FixIt theme clone and use --theme FixIt for build
Build and deploy Hugo site / build (push) Successful in 31s
Build and deploy Hugo site / deploy (push) Successful in 31s

This commit is contained in:
YaoLei
2026-07-06 14:33:55 +08:00
parent 7e747feafb
commit a9297e5f24
+7 -2
View File
@@ -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