pull in the script

This commit is contained in:
Marius Pana 2017-01-13 21:17:31 +02:00
parent db55edf0b0
commit 30bea3a47e

View File

@ -7,11 +7,11 @@ install:
- pip install mkdocs - pip install mkdocs
- pip install mkdocs-material==0.2.4 - pip install mkdocs-material==0.2.4
script: script:
- git pull
- mkdocs build --clean - mkdocs build --clean
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
mkdocs gh-deploy --remote-name https://mariuspana:$GITHUB_API_KEY@github.com/spearheadsys/issue-response-docs.git mkdocs gh-deploy --remote-name https://mariuspana:$GITHUB_API_KEY@github.com/spearheadsys/issue-response-docs.git
cd "$TRAVIS_BUILD_DIR" cd "$TRAVIS_BUILD_DIR"
fi fi