From afa66118ad772116c9bf8e32e5080e69e4c8a409 Mon Sep 17 00:00:00 2001 From: exe Date: Wed, 31 Dec 2014 04:33:52 +0100 Subject: [PATCH] Update .travis.yml --- .travis.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 12fa0ea..48fa6b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,14 +10,15 @@ script: - rm -rf out || exit 0; - mkdir out; - cd out - - git init + - git clone "https://${GH_REF}" + - cd CitoGlMatrix-builds - git config user.name "Travis-CI" - git config user.email "travis@example.com" - - cp -r ../Output ./ - - cp -r ../OutputTests ./ - - git add . + - cp -r ../../Output ./ + - cp -r ../../OutputTests ./ + - git add -A . - git commit -m "Deployed to Github Pages" - - git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1 + - git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" > /dev/null 2>&1 env: global: