🐎 ci: add i18n
Some checks failed
Build and Deploy mdBook / build-and-deploy (push) Failing after 9s

This commit is contained in:
李东云
2025-06-11 13:32:31 +08:00
parent d5a6b17526
commit 1a8b8431cc
25 changed files with 2 additions and 4 deletions

View File

@@ -23,11 +23,11 @@ jobs:
run: |
echo "Building English book..."
# 使用 en 的配置,构建英文版,并指定输出到 book/en 目录
mdbook build -d book/en --config book.en.toml .
mdbook build -d $(pwd)/book/en en
echo "Building Chinese book..."
# 使用 zh 的配置,构建中文版,并指定输出到 book/zh 目录
mdbook build -d book/zh --config book.zh.toml .
mdbook build -d $(pwd)/book/zh zh
- name: Create Language Redirect Index
run: |