another attempt travi-ci

This commit is contained in:
Marius Pana 2017-01-13 20:36:30 +02:00
parent 48c058903a
commit 9a15c5ba46

View File

@ -11,7 +11,8 @@ script:
after_success: | after_success: |
if [ -n "$GITHUB_API_KEY" ]; then if [ -n "$GITHUB_API_KEY" ]; then
cd "$TRAVIS_BUILD_DIR" cd "$TRAVIS_BUILD_DIR"
git pull git branch -r
git branch -D gh-pages
mkdocs gh-deploy --remote-name https://$GITHUB_API_KEY@github.com/spearheadsys/issue-response-docs.git mkdocs gh-deploy --remote-name https://$GITHUB_API_KEY@github.com/spearheadsys/issue-response-docs.git
cd "$TRAVIS_BUILD_DIR" cd "$TRAVIS_BUILD_DIR"
fi fi