From cef435fa37db753f84db9f18a38d0e413949ce6c Mon Sep 17 00:00:00 2001 From: Zhicheng WANG Date: Fri, 9 Nov 2018 09:42:48 +0800 Subject: [PATCH] fix: remove ng-docs.github.io before clone it --- aio/deploy-cn.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aio/deploy-cn.sh b/aio/deploy-cn.sh index cc133d3a99..0e867b37a6 100755 --- a/aio/deploy-cn.sh +++ b/aio/deploy-cn.sh @@ -10,6 +10,9 @@ cd `dirname $0` yarn build ts-node ./tools/translator/bin/ssr.ts + +rm -fr ng-docs.github.io + git clone git@github.com:ng-docs/ng-docs.github.io.git cp -r dist/* ./ng-docs.github.io/