Update deployment workflow and revise site config

This commit is contained in:
2025-08-08 17:21:52 +08:00
parent 67ab31ca56
commit 8d0db7d953
2 changed files with 14 additions and 9 deletions

View File

@@ -30,13 +30,13 @@ jobs:
hugo-version: '0.147.0'
extended: true
- name: Clone private wiki repository
- name: Clone private x-eden repository
run: |
rm -rf /tmp/wiki && git clone "${{ secrets.GITEA_REPO_CLONE }}" /tmp/wiki
if [ -d "/tmp/wiki/Personal/Blog" ]; then
cp -r /tmp/wiki/Personal/Blog/* content/posts/ || exit 1
rm -rf /tmp/x-eden && git clone "${{ secrets.GITEA_REPO_CLONE }}" /tmp/x-eden
if [ -d "/tmp/x-eden/60-writing/01-blog" ]; then
cp -r /tmp/x-eden/60-writing/01-blog/* content/posts/ || exit 1
else
echo "Wiki content not found"
echo "x-eden content not found"
exit 1
fi

View File

@@ -3,7 +3,7 @@
#────────────────────────────────────────────
baseURL = "https://zopiya.com/"
languageCode = "zh"
title = "向阳而生"
title = "仲平"
theme = "typo"
defaultContentLanguage = "zh"
hasCJKLanguage = true
@@ -70,7 +70,7 @@ enableRobotsTXT = true
# 6. 主题参数
#────────────────────────────────────────────
[params]
description = "愿我们都能:执着于热爱,纯粹于当下。"
description = "写作与思考的个人博客,记录文字、光影与生活中的片刻感悟。"
theme = "auto"
colorPalette = "base16-default"
hideHeader = true
@@ -80,7 +80,7 @@ enableRobotsTXT = true
listDateFormat = "2006 Jan"
homeDateFormat = "2 Jan"
homeIntroTitle = ""
homeIntroContent = """🌿愿我们都能:执着于热爱,纯粹于当下。"""
homeIntroContent = """🌿 张力孕育生命,合力塑造结果。而真正的艺术,是在万物之间寻求平衡。"""
homeCollectionTitle = "文辑"
homeCollection = "posts"
@@ -130,13 +130,18 @@ enableRobotsTXT = true
url = "https://github.com/zopiya"
[[params.social]]
name = "gmail"
name = "x"
url = "https://x.com/zopiyaaa"
[[params.social]]
name = "maildotru"
url = "mailto:i@zopiya.com"
[[params.social]]
name = "rss"
url = "/rss.xml"
#────────────────────────────────────────────
# 8. Markdown 与高亮
#────────────────────────────────────────────