docs: update gh-pages script

master
Evgeny Poberezkin 2017-04-09 13:05:06 +01:00
parent 269285eac3
commit 33e74df21a
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" && $TRAV
currentDir=$(pwd)
cd ../gh-pages
$currentDir/node_modules/.bin/gh-pages-generator
# remove logo from README
sed -i "" -E "s/<img[^>]+ajv_logo[^>]+>//" index.md
git config user.email "$GIT_USER_EMAIL"
git config user.name "$GIT_USER_NAME"
git add .