More doc upload fixes
This commit is contained in:
parent
e6e27ea08f
commit
f3f75fee39
@ -2,17 +2,15 @@
|
|||||||
|
|
||||||
set -o errexit -o nounset
|
set -o errexit -o nounset
|
||||||
|
|
||||||
rev=$(git rev-parse --short HEAD)
|
|
||||||
|
|
||||||
git clone --branch gh-pages "https://$GH_TOKEN@github.com/${TRAVIS_REPO_SLUG}.git" deploy_docs
|
git clone --branch gh-pages "https://$GH_TOKEN@github.com/${TRAVIS_REPO_SLUG}.git" deploy_docs
|
||||||
cd deploy_docs
|
cd deploy_docs
|
||||||
|
|
||||||
git config user.name "Steven Fackler"
|
git config user.name "Steven Fackler"
|
||||||
git config user.email "sfackler@gmail.com"
|
git config user.email "sfackler@gmail.com"
|
||||||
|
|
||||||
rm -rf docs
|
rm -rf doc
|
||||||
mv ../target/docs .
|
mv ../target/doc .
|
||||||
|
|
||||||
git add -A .
|
git add -A .
|
||||||
git commit -m "rebuild pages at ${rev}"
|
git commit -m "rebuild pages at ${TRAVIS_COMMIT}"
|
||||||
git push
|
git push
|
||||||
|
Loading…
Reference in New Issue
Block a user