fix: 尝试解决 ci 问题

This commit is contained in:
Zhicheng WANG 2020-01-24 21:55:16 +08:00
parent 5091379c5a
commit fb87151509
1 changed files with 0 additions and 8 deletions

View File

@ -10,14 +10,6 @@ cd `dirname $0`
yarn build yarn build
yarn preview > /tmp/preview.log &
sleep 3;
node ./tools/translator/bin/prerender.js
killall -9 node
if [[ ! -d "./ng-docs.github.io" ]] if [[ ! -d "./ng-docs.github.io" ]]
then then
git clone https://asnowwolf:${GITHUB_ACCESS_TOKEN}@github.com/ng-docs/preview.angular.cn.git ./ng-docs.github.io git clone https://asnowwolf:${GITHUB_ACCESS_TOKEN}@github.com/ng-docs/preview.angular.cn.git ./ng-docs.github.io