File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed
Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 1- name : Deploy Javadoc
1+ name : Publish Javadoc
22
33on :
44 push :
@@ -11,11 +11,11 @@ permissions:
1111 contents : write
1212
1313jobs :
14- publish :
14+ javadoc :
1515 runs-on : ubuntu-latest
1616
1717 steps :
18- - name : Checkout repository
18+ - name : Checkout
1919 uses : actions/checkout@v4
2020
2121 - name : Set up Java
@@ -24,17 +24,12 @@ jobs:
2424 distribution : temurin
2525 java-version : 21
2626
27- - name : Build Javadoc
28- run : mvn javadoc:javadoc
29-
30- - name : Prepare Javadoc folder
31- run : |
32- mkdir -p publish/javadoc
33- cp -r target/site/apidocs/* publish/javadoc/
27+ - name : Generate Javadoc (Maven Site)
28+ run : mvn -B site
3429
3530 - name : Deploy to GitHub Pages
3631 uses : peaceiris/actions-gh-pages@v4
3732 with :
3833 github_token : ${{ secrets.GITHUB_TOKEN }}
3934 publish_branch : gh-pages
40- publish_dir : publish
35+ publish_dir : target/site
You can’t perform that action at this time.
0 commit comments