feat: enable auto-deployment of docs to gh-pages branch from Travis CI

This commit is contained in:
Bob Nystrom
2018-07-15 04:35:33 +00:00
parent f4238a38e8
commit e6b216e1b0
3 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -10,9 +10,8 @@ cd ../..
make gh-pages
# Clone the repo at the gh-pages branch.
# TODO: Testing right now, so not using live branch.
git clone https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG} gh-pages-repo \
--branch gh-pages-temp --depth 1
--branch gh-pages --depth 1
cd gh-pages-repo
# Copy them into the gh-pages branch.