chore: modify script for CI env

This commit is contained in:
Zhicheng WANG 2018-11-09 08:52:30 +08:00
parent bc877d104a
commit 5123b0ac1d
1 changed files with 5 additions and 2 deletions

View File

@ -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 .