2015-02-08 04:33:44 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -o errexit -o nounset
|
|
|
|
|
|
|
|
git clone --branch gh-pages "https://$GH_TOKEN@github.com/${TRAVIS_REPO_SLUG}.git" deploy_docs
|
|
|
|
cd deploy_docs
|
|
|
|
|
|
|
|
git config user.name "Steven Fackler"
|
|
|
|
git config user.email "sfackler@gmail.com"
|
|
|
|
|
2015-05-16 22:00:43 +00:00
|
|
|
rm -rf doc/master
|
|
|
|
mv ../target/doc doc/master
|
2015-02-08 04:33:44 +00:00
|
|
|
|
|
|
|
git add -A .
|
2015-02-08 04:44:55 +00:00
|
|
|
git commit -m "rebuild pages at ${TRAVIS_COMMIT}"
|
2015-02-08 04:33:44 +00:00
|
|
|
git push
|