<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
rm -f .gitignore

git init
git config user.name "Travis CI"
git config user.email "miya+github.com@wpist.me"
git add api
git add README.md
git commit --quiet -m "Deploy from travis"
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> some fix

<DFF> @@ -16,8 +16,8 @@ rm -fr .git
 rm -f .gitignore
 
 git init
-git config user.name "Travis CI"
-git config user.email "miya+github.com@wpist.me"
+git config user.name $GIT_USER
+git config user.email $GIT_EMAIL
 git add api
 git add README.md
 git commit --quiet -m "Deploy from travis"

some fix