Update build-book-en.yaml

This commit is contained in:
何夕2077
2025-07-15 22:43:43 +08:00
committed by GitHub
parent bdae03bd33
commit b2c066f447

View File

@@ -378,7 +378,7 @@ jobs:
plain_text_for_desc = strip_markdown_html(text_from_list_item)
new_description = plain_text_for_desc[:157] # Truncate for "..."
if len(plain_text_for_desc) > 160:
new_description += "..."
new_description += "."
if new_description: # Only set description if plain_text_for_desc is not empty
parsed_fm['description'] = new_description
@@ -479,4 +479,4 @@ jobs:
echo "检测到文件变更,正在提交..."
git commit -m "chore(i18n): Auto-translate EN content with FM updates"
git push
fi
fi