From 5123b0ac1d28a5c9cfd8a8ff5a64875ed3f9f7b9 Mon Sep 17 00:00:00 2001 From: Zhicheng WANG Date: Fri, 9 Nov 2018 08:52:30 +0800 Subject: [PATCH] chore: modify script for CI env --- aio/deploy-cn.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 .