chore: modify script for CI env
This commit is contained in:
parent
bc877d104a
commit
5123b0ac1d
|
@ -10,8 +10,11 @@ cd `dirname $0`
|
||||||
|
|
||||||
yarn build
|
yarn build
|
||||||
ts-node ./tools/translator/bin/ssr.ts
|
ts-node ./tools/translator/bin/ssr.ts
|
||||||
cp -r dist/* ../../ng-docs.github.io/
|
git clone git@github.com:ng-docs/ng-docs.github.io.git
|
||||||
cd ../../ng-docs.github.io
|
|
||||||
|
cp -r dist/* ./ng-docs.github.io/
|
||||||
|
|
||||||
|
cd ./ng-docs.github.io
|
||||||
|
|
||||||
cp index.html 404.html
|
cp index.html 404.html
|
||||||
git add .
|
git add .
|
||||||
|
|
Loading…
Reference in New Issue