pull before push

This commit is contained in:
Marius Pana 2017-01-13 21:15:51 +02:00
parent 89a43bf113
commit db55edf0b0
1 changed files with 1 additions and 0 deletions

View File

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