chore: 不再移除原有文件,以保持升级时的兼容性
This commit is contained in:
parent
9e94c2a119
commit
d8d60257f5
@ -9,13 +9,10 @@ set -x
|
||||
cd `dirname $0`
|
||||
|
||||
yarn build
|
||||
rm -fr ../../ng-docs.github.io/*
|
||||
cp -r dist/* ../../ng-docs.github.io
|
||||
cp -r dist/* ../../ng-docs.github.io/
|
||||
cd ../../ng-docs.github.io
|
||||
|
||||
cp index.html 404.html
|
||||
echo v6.angular.live > CNAME
|
||||
echo angular.cn >> CNAME
|
||||
echo www.angular.cn >> CNAME
|
||||
git add .
|
||||
git commit -am "publish"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user