Renew GitHub token for uploading Doxygen documentation
This commit is contained in:
parent
400e85d674
commit
e50802b90f
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user