diff --git a/aio/deploy-cn.sh b/aio/deploy-cn.sh index 169d3f29f9..cc133d3a99 100755 --- a/aio/deploy-cn.sh +++ b/aio/deploy-cn.sh @@ -10,8 +10,11 @@ cd `dirname $0` yarn build ts-node ./tools/translator/bin/ssr.ts -cp -r dist/* ../../ng-docs.github.io/ -cd ../../ng-docs.github.io +git clone git@github.com:ng-docs/ng-docs.github.io.git + +cp -r dist/* ./ng-docs.github.io/ + +cd ./ng-docs.github.io cp index.html 404.html git add .