File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -7,28 +7,20 @@ DEPLOY_DIR=$1
77
88echo " Deploying docs to ${DEPLOY_DIR} "
99
10- echo " Pulling existing github pages..."
11- # Set up git
12-
1310git config --global user.email
" [email protected] " 1411git config --global user.name " travis-ci"
1512
13+ echo " Pulling from gh-pages"
1614mkdir $HOME /gh-pages
1715cd $HOME /gh-pages
18- echo " debug: cwd is $( pwd) "
1916git init
2017git pull " https://github.com/teamhyper/hyperLib.git" gh-pages
21- ls -la
22- git status
23- git branch
2418
2519echo " Copying docs over..."
26- # Copy docs over
2720mkdir -p doc/${DEPLOY_DIR}
2821cp -Rf ${TRAVIS_BUILD_DIR} /build/docs/javadoc/* doc/${DEPLOY_DIR}
2922
3023echo " Committing and pushing..."
31- # Commit and push changes
3224git add -f .
3325git commit -m " Add latest javadoc from build $TRAVIS_BUILD_NUMBER to $DEPLOY_DIR "
3426git push -f " https://${GH_TOKEN} @github.com/teamhyper/hyperLib.git" +master:gh-pages & > /dev/null
You can’t perform that action at this time.
0 commit comments