Permalink
Browse files

Fix javadoc publish even more. This shouldn't be that hard. (#1411)

  • Loading branch information...
1 parent 293d5b6 commit 2877a36f833f93c1ef252b06f54cdc3495f11e60 @abesto abesto committed with adriancole Nov 20, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 travis/publish.sh
View
@@ -126,7 +126,7 @@ javadoc_to_gh_pages() {
done
# Update gh-pages
- git fetch origin gh-pages:origin/gh-pages
+ git fetch origin gh-pages:gh-pages
git checkout gh-pages
rm -rf "$version"
mv "javadoc-builddir/$version" ./
@@ -144,7 +144,7 @@ javadoc_to_gh_pages() {
git add "$version"
git add index.html
git commit -m "Automatically updated javadocs for $version"
- git push
+ git push origin gh-pages
}
#----------------------

0 comments on commit 2877a36

Please sign in to comment.