mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 12:22:12 +00:00
copy lang directories only specified in docusaurus.config.js
This commit is contained in:
parent
cf3891fc2d
commit
6ef858c65b
@ -13,8 +13,9 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# The repo is usually mounted to /ClickHouse
|
# The repo is usually mounted to /ClickHouse
|
||||||
|
LANGUAGES=$(grep -o "'[/][a-z][a-z]'" /opt/clickhouse-docs/docusaurus.config.js | sort -u | sed "s/'\/\([a-z][a-z]\)'/\1/")
|
||||||
|
|
||||||
for lang in en ru zh ja
|
for lang in $LANGUAGES
|
||||||
do
|
do
|
||||||
if [ -d "/ClickHouse/docs/${lang}" ]; then
|
if [ -d "/ClickHouse/docs/${lang}" ]; then
|
||||||
cp -rf "/ClickHouse/docs/${lang}" "/opt/clickhouse-docs/docs/"
|
cp -rf "/ClickHouse/docs/${lang}" "/opt/clickhouse-docs/docs/"
|
||||||
|
Loading…
Reference in New Issue
Block a user