File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
13DEPLOY_DIR=$1
24
35echo " Deploying docs to ${DEPLOY_DIR} "
@@ -8,7 +10,7 @@ cd $HOME
810echo " debug: cwd is $( pwd) "
911git config --global user.email
" [email protected] " 1012git config --global user.name " travis-ci"
11- git clone --depth=50 -- quiet --branch=gh-pages " https://${GH_TOKEN} @github.com/teamhyper/hyperLib.git" gh-pages & > /dev/null
13+ git clone --quiet " https://${GH_TOKEN} @github.com/teamhyper/hyperLib.git" gh-pages > /dev/null
1214ls -la
1315cd gh-pages
1416echo " debug: cwd is now $( pwd) "
@@ -25,6 +27,6 @@ echo "Committing and pushing..."
2527# Commit and push changes
2628git add -f .
2729git commit -m " Add latest javadoc from build $TRAVIS_BUILD_NUMBER to $DEPLOY_DIR "
28- git push -fq origin gh-pages & > /dev/null
30+ git push -fq origin gh-pages > /dev/null
2931
3032echo " Docs successfully deployed"
You can’t perform that action at this time.
0 commit comments