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/regenerator/*.js
|
||||
/lib
|
||||
_babel.github.io
|
||||
|
||||
@ -13,3 +13,4 @@
|
||||
/vendor
|
||||
/packages
|
||||
/src
|
||||
_babel.github.io
|
||||
|
||||
@ -1,9 +1,16 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
git clone git@github.com:babel/babel.github.io.git
|
||||
cd babel.github.io
|
||||
if [ ! -d ./_babel.github.io ]; then
|
||||
git clone git@github.com:babel/babel.github.io.git _babel.github.io
|
||||
fi
|
||||
|
||||
cd _babel.github.io
|
||||
|
||||
if [ ! -d ./_babel ]; then
|
||||
ln -s .. _babel
|
||||
fi
|
||||
|
||||
make build
|
||||
git commit -am "${TRAVIS_TAG}"
|
||||
git push "https://${GH_TOKEN}@github.com/babel/babel.github.io"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user