aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-12-22 23:02:20 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-12-22 23:02:20 +0000
commit77a65a351d93cc7afee655826383c8000439fcca (patch)
treed25fa41c28f9e20e79eaf495da146ad0fe84a724 /scripts
parent137994df5ca3aa3fba97c0e1718ec45af309bebe (diff)
parent09e6e100163a9a77b59dd79aaf18d7ec88384638 (diff)
downloadYAGE-77a65a351d93cc7afee655826383c8000439fcca.tar.gz
YAGE-77a65a351d93cc7afee655826383c8000439fcca.zip
Merge branch 'develop'
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis_build4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/travis_build b/scripts/travis_build
index 40c774eb..140580a9 100755
--- a/scripts/travis_build
+++ b/scripts/travis_build
@@ -18,13 +18,13 @@ cd ../..
# update docs if we are on the master branch
if [[ $TRAVIS_BRANCH = "master" && $BUILD_DOCS -eq 1 ]]; then
- if [[ -d "$TRAVIS_BUILD_DIR/build/doc_doxygen/html" ]]; then
+ if [[ -d "build/doc_doxygen/html" ]]; then
git clone -b gh-pages "https://$GH_TOKEN@github.com/ymherklotz/YAGE.git" YAGE_gh-pages
cd YAGE_gh-pages
git config user.name "TravisBot"
git config user.email ""
rm -rf *
- cp -r ../build/doc_doxygen/html/* .
+ cp -r build/doc_doxygen/html/* .
git add -A .
git commit -m "[Travis] Rebuilding documentation"
git push -q origin gh-pages