Skip to content

Commit

Permalink
git clone command should only list the gh-pages branch. Updated how w…
Browse files Browse the repository at this point in the history
…e copy javadoc and jsdoc output.
  • Loading branch information
travis-ci committed Mar 15, 2018
1 parent 8aa4e15 commit 9dbaa9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/ptIITravisBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ updateGhPages () {

# Don't echo GITHUB_TOKEN
set +x
git clone --depth=50 --branch=master --single-branch --branch=gh-pages https://${GITHUB_TOKEN}@github.com/icyphy/ptII gh-pages
git clone --depth=50 --single-branch --branch=gh-pages https://${GITHUB_TOKEN}@github.com/icyphy/ptII gh-pages
set -x

# Commit and Push the Changes
Expand Down Expand Up @@ -79,8 +79,7 @@ fi

if [ ! -z "$PT_TRAVIS_DOCS" ]; then \
ant javadoc jsdoc;
updateGhPages $PTII/doc/codeDoc doc/codeDoc/
updateGhPages $PTII/doc/jsdoc doc/jsdoc/
updateGhPages $PTII/doc/codeDoc doc
fi

# Use this for testing, it quickly runs "ant -p" and then updated the gh-pages repo.
Expand Down

0 comments on commit 9dbaa9c

Please sign in to comment.