Skip to content

Commit 72029dd

Browse files
Fix Javadoc deployment (#29)
Fix Javadoc deployment
2 parents 87b0758 + ccf8eb7 commit 72029dd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ before_script:
3737

3838
script:
3939
- mvn clean package
40+
- mvn javadoc:javadoc
4041

4142
deploy:
4243
- provider: bintray

build/generate-index-html.sh

100644100755
File mode changed.

build/push-javadoc-to-gh-pages.sh

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" ]; then
88
# on tagged builds, $TRAVIS_BRANCH is the tag (e.g. v1.2.3), otherwise it's the branch name (e.g. master)
99
rm -rf docs/$TRAVIS_BRANCH
1010
mkdir -p docs/$TRAVIS_BRANCH
11-
cp -rf ../target/apidocs/* docs/$TRAVIS_BRANCH
12-
../.utility/generate_index_html.sh > index.html
11+
cp -rf ../target/site/apidocs/* docs/$TRAVIS_BRANCH
12+
../.build/generate-index-html.sh > index.html
1313

1414
git add -f .
1515
git commit -m "Latest javadoc for $TRAVIS_BRANCH ($TRAVIS_COMMIT)"

0 commit comments

Comments
 (0)