Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,14 @@ jobs:
ALL_EN=""
for p in "${ALL[@]}"; do
case "$p" in
*_en) VALID_EN["$p"]=1; ALL_EN="$ALL_EN $p" ;;
# 仅保留英文版本,且源目录真实存在(conf.py 里声明但缺目录的会被跳过)
*_en)
if [ -d "docs/$p" ]; then
VALID_EN["$p"]=1; ALL_EN="$ALL_EN $p"
else
echo "::warning::Skipping $p: source dir docs/$p not found"
fi
;;
esac
done
ALL_EN=$(echo "$ALL_EN" | xargs)
Expand Down
Loading