From 7fe7cb20587a699a106d8ff8cc662db36fb2f0f5 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Wed, 21 Mar 2018 12:12:32 +0100 Subject: [PATCH] Update .travis.yml --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 65880f16..ec7b818a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,9 +24,10 @@ script: - ssh-add $TRAVIS_BUILD_DIR/deploy_key - git clone --branch gh-pages https://github.com/Open-EO/openeo-api /tmp/gh-pages - if [[ $TRAVIS_BRANCH == 'master' ]] ; then cd /tmp/gh-pages/ && rm -rf !(v) && cd - && cp -R site/* /tmp/gh-pages/ ; fi -- if [[ $TRAVIS_BRANCH != 'master' ]] ; rm -rf /tmp/gh-pages/v/$TRAVIS_BRANCH && mkdir -p /tmp/gh-pages/v/$TRAVIS_BRANCH/ && cp -R site/* /tmp/gh-pages/v/$TRAVIS_BRANCH/ ; fi +- if [[ $TRAVIS_BRANCH != 'master' ]] ; then rm -rf /tmp/gh-pages/v/$TRAVIS_BRANCH && mkdir -p /tmp/gh-pages/v/$TRAVIS_BRANCH/ && cp -R site/* /tmp/gh-pages/v/$TRAVIS_BRANCH/ ; fi - git config user.name "Travis CI Documentation Builder" -- git config user.email "marius.appel@uni-muenster.de" +- git config user.email "marius +.appel@uni-muenster.de" - cd /tmp/gh-pages && git add . - git commit -m "Automated documentation build[ci skip]" - git push --force "${GH_REF}" gh-pages:gh-pages