Skip to content

Commit e8c6ca7

Browse files
committed
Update build.yml
1 parent bbd1e64 commit e8c6ca7

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,10 @@ jobs:
2626
- name: Run Tests
2727
run: mvn -B test --file pom.xml
2828

29-
- name: Generate Javadoc
30-
if: success()
31-
run: mvn javadoc:javadoc
32-
33-
- name: Deploy Javadoc to GitHub Pages
34-
if: success()
35-
uses: peaceiris/actions-gh-pages@v3
36-
with:
37-
github_token: ${{ secrets.GITHUB_TOKEN }}
38-
publish_dir: ./target/site/apidocs
39-
publish_branch: javadoc
29+
- uses: MathieuSoysal/Javadoc-publisher.yml@v3.0.2
30+
with:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
javadoc-branch: javadoc
33+
java-version: 21
34+
target-folder: javadoc
35+
project: maven

0 commit comments

Comments
 (0)