Make docs/udpate_docs.sh executable
Including a misc clean-up in the script. Change-Id: I7bda3ac52e15712356cc286caba08e1fd9db68e1
This commit is contained in:
parent
192ef2a0ac
commit
951fedaf41
|
@ -24,11 +24,11 @@ cd docs
|
||||||
make html
|
make html
|
||||||
|
|
||||||
cd ../out
|
cd ../out
|
||||||
rm -rf gh-pages
|
|
||||||
|
|
||||||
# If SITE_DIRECTORY is specified, it is assumed to be local evaluation, so we
|
# If SITE_DIRECTORY is specified, it is assumed to be local evaluation, so we
|
||||||
# will not try to update Git repository.
|
# will not try to update Git repository.
|
||||||
if [[ -z ${SITE_DIRECTORY} ]] ; then
|
if [[ -z ${SITE_DIRECTORY} ]] ; then
|
||||||
|
rm -rf gh-pages
|
||||||
git clone --depth 1 https://github.com/google/shaka-packager -b gh-pages gh-pages
|
git clone --depth 1 https://github.com/google/shaka-packager -b gh-pages gh-pages
|
||||||
cd gh-pages
|
cd gh-pages
|
||||||
git rm -rf *
|
git rm -rf *
|
||||||
|
|
Loading…
Reference in New Issue