Skip to content

Commit 15e12dd

Browse files
committed
Simplify Javadoc workflow
1 parent 5dbff5d commit 15e12dd

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,10 @@ jobs:
5353
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
5454

5555
- name: Deploy javadoc to Github Pages
56-
uses: dev-vince/actions-publish-javadoc@v1.0.1
57-
with: # Comment
58-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59-
java-version: "17" # Replace with your java version. Default is 17
60-
java-distribution: "adopt" # The distributor of the target JDK. See https://github.com/actions/setup-java for more information. Default is adopt
61-
project: maven # The project type. By default maven
62-
branch: "gh-pages" # The branch for the javadoc contents. By default gh-pages
56+
uses: peaceiris/actions-gh-pages@v3
57+
with:
58+
github_token: ${{ secrets.GITHUB_TOKEN }}
59+
publish_branch: gh-pages
60+
publish_dir: java-client/target/apidocs
61+
force_orphan: true
6362

0 commit comments

Comments
 (0)