changing deploy/pull options

This commit is contained in:
Marius Pana 2017-01-13 21:19:39 +02:00
parent 30bea3a47e
commit 2d95c76b3e

View File

@ -7,12 +7,12 @@ install:
- pip install mkdocs
- pip install mkdocs-material==0.2.4
script:
- git pull
- mkdocs build --clean
- git pull
after_success: |
if [ -n "$GITHUB_API_KEY" ]; then
cd "$TRAVIS_BUILD_DIR"
mkdocs gh-deploy --remote-name https://mariuspana:$GITHUB_API_KEY@github.com/spearheadsys/issue-response-docs.git
mkdocs gh-deploy --clean
cd "$TRAVIS_BUILD_DIR"
fi
env: