Skip to content

Commit a87a8b5

Browse files
authored
Create publish-javadoc.yml
1 parent e614c7d commit a87a8b5

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Deploy Javadoc
2+
3+
on:
4+
release:
5+
types: [published]
6+
branches:
7+
- master
8+
- main
9+
10+
jobs:
11+
publish:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Deploy JavaDoc 🚀
15+
uses: MathieuSoysal/Javadoc-publisher.yml@main
16+
with:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
javadoc-branch: gh-pages
19+
java-version: 17
20+
target-folder: ''
21+
project: maven # or gradle
22+
# subdirectories: moduleA moduleB #for subdirectories support, needs to be run with custom command
23+
custom-command: mvn -f SimpleAPI/pom.xml deploy -P javadoc javadoc:aggregate
24+
javadoc-source-folder: 'SimpleAPI/target/apidocs'

0 commit comments

Comments
 (0)