Skip to content

Commit d48698e

Browse files
author
James Hagborg
committed
remove debugging stuff
1 parent 0dcc6d5 commit d48698e

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ deploy:
2424
on:
2525
tags: true
2626
- provider: script
27-
script: scripts/deploy_docs.sh releases/$TRAVIS_TAG
27+
script: scripts/deploy_docs.sh release/$TRAVIS_TAG
2828
skip_cleanup: true
2929
on:
3030
tags: true

scripts/deploy_docs.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,20 @@ DEPLOY_DIR=$1
77

88
echo "Deploying docs to ${DEPLOY_DIR}"
99

10-
echo "Pulling existing github pages..."
11-
# Set up git
12-
1310
git config --global user.email "[email protected]"
1411
git config --global user.name "travis-ci"
1512

13+
echo "Pulling from gh-pages"
1614
mkdir $HOME/gh-pages
1715
cd $HOME/gh-pages
18-
echo "debug: cwd is $(pwd)"
1916
git init
2017
git pull "https://github.com/teamhyper/hyperLib.git" gh-pages
21-
ls -la
22-
git status
23-
git branch
2418

2519
echo "Copying docs over..."
26-
# Copy docs over
2720
mkdir -p doc/${DEPLOY_DIR}
2821
cp -Rf ${TRAVIS_BUILD_DIR}/build/docs/javadoc/* doc/${DEPLOY_DIR}
2922

3023
echo "Committing and pushing..."
31-
# Commit and push changes
3224
git add -f .
3325
git commit -m "Add latest javadoc from build $TRAVIS_BUILD_NUMBER to $DEPLOY_DIR"
3426
git push -f "https://${GH_TOKEN}@github.com/teamhyper/hyperLib.git" +master:gh-pages &> /dev/null

0 commit comments

Comments
 (0)