fix: 尝试解决 ci 问题
This commit is contained in:
parent
5091379c5a
commit
fb87151509
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue