INNER CODE UNIT · Nim
GIT_DIR
yglukhov/rod · deployGHPages.sh:11
export GIT_DIR=/tmp/gh-pages.tmp
rm -rf "$GIT_DIR"
mkdir -p "$GIT_DIR"
cd "$1"
export GIT_WORK_TREE=$(pwd)
git init
git config user.name "Travis CI"
git config user.email "autodocgen@example.com"
git add .
git commit -m "Deploy to GitHub Pages"
git push --force --quiet "https://$GH_KEY@github.com/$TRAVIS_REPO_SLUG" master:gh-pages > /dev/null 2>&1
fi