Skip to content

Commit

Permalink
Update push-javadoc for the separate website repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jhalterman committed Aug 20, 2021
1 parent 062b910 commit 19dfd28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/push-javadoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# run from top level dir

ORG=failsafe-lib
PROJECT=failsafe
REPO=failsafe.dev

build () {
echo "Building javadocs"
mvn javadoc:javadoc -Djv=$apiVersion
rm -rf target/docs
git clone git@github.com:$ORG/$PROJECT.git target/docs -b gh-pages
git clone git@github.com:$ORG/$REPO.git target/docs
cd target/docs
git rm -rf javadoc
mkdir -p javadoc
Expand Down Expand Up @@ -42,7 +42,7 @@ commit() {
echo "Committing javadocs"
git add -A -f javadoc
git commit -m "Updated JavaDocs"
git push -fq origin gh-pages > /dev/null
git push -fq > /dev/null
}

build
Expand Down

0 comments on commit 19dfd28

Please sign in to comment.