github workflow build docs check fix (#12318)

github workflow build docs check fix
This commit is contained in:
jiafeng.zhang
2022-09-03 21:32:43 +08:00
committed by GitHub
parent 90a0baf5f8
commit 81664fd78c

View File

@ -101,7 +101,7 @@ jobs:
cp -R docs/zh-CN/community/* website/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/
cp -R docs/sidebars.json website/
cp -R docs/images website/static/
sed '2,3d' website/versions.json
sed '2,3d' website/versions.json > website/versions.json1
rm -rf website/versions.json
mv website/versions.json1 website/versions.json
sed '123,128d' website/docusaurus.config.js > website/docusaurus.config.js1
@ -113,4 +113,4 @@ jobs:
yarn cache clean
yarn && yarn build
cd ../
rm -rf website
rm -rf website