From e50802b90f0a265b72be62565d862c1552771624 Mon Sep 17 00:00:00 2001 From: fincs Date: Mon, 16 Jan 2017 17:10:43 +0100 Subject: [PATCH] Renew GitHub token for uploading Doxygen documentation --- .travis.yml | 4 ++-- exportdoc.sh | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 225abf0..ef7abab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ install: env: global: - - secure: "BkEGbVRearmBLntY9WSuFkaiO2qAMMN43qocbkCL18dGbIDJA7vlUXXCKkahdsS5TU9j7xdcybCokmPBuvMCNRvQcDVwDcYbuh+ASmqG8Br1hphUScWPZNkcVSgTcHqNHh2k+05NP6d3vm3utOLgGZt/V5p+XcdGHti86KMeY34=" + - secure: "flMuk/VTG6xhMfazYKyIi+0yHceJkPRLg5igm3zuUDPeMhFxYCtwJe44Uu9YrTj5VqXmfbIC27q/I68lia6Q+A/WvlIRYo1BO/Gh8sTT65hYe9KHODdel01tODHe2jmf80fskdowREj60etrwHYdP75O4ntn9A/PI9hZ5s/yrEQ=" script: - cd $TRAVIS_BUILD_DIR/libctru @@ -43,5 +43,5 @@ after_success: - #Build the doxygen files and upload to GH pages - git config --global user.email "travis@travis-ci.org" - git config --global user.name "TravisCI-DocBuilder" - # Build the doxygen documentation and push it to gh-pages if current branch is great-refactor + # Build the doxygen documentation and push it to gh-pages if this is a tagged release - sh exportdoc.sh diff --git a/exportdoc.sh b/exportdoc.sh index 9e9e480..0a85d9d 100644 --- a/exportdoc.sh +++ b/exportdoc.sh @@ -1,7 +1,6 @@ #!/bin/sh if [ "$TRAVIS_REPO_SLUG" = "smealum/ctrulib" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ -n "$TRAVIS_TAG" ]; then -git clone --branch=gh-pages --single-branch --depth 1 https://${GH_TOKEN}@github.com/$TRAVIS_REPO_SLUG docs -git rm -rf docs/* +git clone --branch=gh-pages --single-branch --depth 1 --no-checkout https://${GH_TOKEN}@github.com/$TRAVIS_REPO_SLUG docs git clone --branch=master --single-branch --depth 1 https://github.com/devkitPro/3ds-examples examples cd libctru doxygen Doxyfile