File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 44
55GIT_BRANCH=$( git branch --show-current)
66
7+ git checkout yarn.lock
78if [ " $GIT_DOCS_BRANCH " ] && ! [ " $GIT_DOCS_BRANCH " == " $GIT_BRANCH " ]; then
89 git fetch origin --depth=1 -- " $GIT_DOCS_BRANCH :$GIT_DOCS_BRANCH "
910 git checkout " $GIT_DOCS_BRANCH "
1213 git pull
1314fi
1415
15- # The repo is usually mounted to /ClickHouse
16- LANGUAGES=$( grep -o " '[/][a-z][a-z]'" /opt/clickhouse-docs/docusaurus.config.js | sort -u | sed " s/'\/\([a-z][a-z]\)'/\1/" )
17-
1816# install latest packages
1917yarn install
2018yarn prep-from-local /ClickHouse
2119
22- for lang in $LANGUAGES
23- do
24- if [ -d " /ClickHouse/docs/${lang} " ]; then
25- cp -rf " /ClickHouse/docs/${lang} " " /opt/clickhouse-docs/docs/"
26- fi
27- done
28-
2920# Force build error on wrong symlinks
3021sed -i ' /onBrokenMarkdownLinks:/ s/ignore/error/g' docusaurus.config.js
3122
You can’t perform that action at this time.
0 commit comments