clean up build website script
This commit is contained in:
parent
b94118db5e
commit
34218afdae
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ test/core/tmp
|
|||||||
/packages/babel-runtime/helpers/*.js
|
/packages/babel-runtime/helpers/*.js
|
||||||
/packages/babel-runtime/regenerator/*.js
|
/packages/babel-runtime/regenerator/*.js
|
||||||
/lib
|
/lib
|
||||||
|
_babel.github.io
|
||||||
|
|||||||
@ -13,3 +13,4 @@
|
|||||||
/vendor
|
/vendor
|
||||||
/packages
|
/packages
|
||||||
/src
|
/src
|
||||||
|
_babel.github.io
|
||||||
|
|||||||
@ -1,9 +1,16 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
git clone git@github.com:babel/babel.github.io.git
|
if [ ! -d ./_babel.github.io ]; then
|
||||||
cd babel.github.io
|
git clone git@github.com:babel/babel.github.io.git _babel.github.io
|
||||||
ln -s .. _babel
|
fi
|
||||||
|
|
||||||
|
cd _babel.github.io
|
||||||
|
|
||||||
|
if [ ! -d ./_babel ]; then
|
||||||
|
ln -s .. _babel
|
||||||
|
fi
|
||||||
|
|
||||||
make build
|
make build
|
||||||
git commit -am "${TRAVIS_TAG}"
|
git commit -am "${TRAVIS_TAG}"
|
||||||
git push "https://${GH_TOKEN}@github.com/babel/babel.github.io"
|
git push "https://${GH_TOKEN}@github.com/babel/babel.github.io"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user