<NME> deploy.sh
<BEF> #!/usr/bin/env bash

set -e

if [[ "false" != "$TRAVIS_PULL_REQUEST" ]]; then
	echo "Not deploying pull requests."
	exit
fi

if [[ "master" != "$TRAVIS_BRANCH" ]]; then
	echo "Not on the 'master' branch."
	exit
fi

rm -fr .git

git init
git config user.name "Travis CI"
git config user.email $GIT_EMAIL
git add api
git add README.md
touch .nojekyll
git add .nojekyll
cp example/index.html ./
git add index.html
git commit --quiet -m "Deploy from travis"
git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1

<MSG> add readme and bug fix

<DFF> @@ -13,6 +13,7 @@ if [[ "master" != "$TRAVIS_BRANCH" ]]; then
 fi
 
 rm -fr .git
+rm -f .gitignore
 
 git init
 git config user.name "Travis CI"

add readme and bug fix