Skip to content

Commit 801c943

Browse files
authored
add javadoc dir (#49)
* feat: add desc Signed-off-by: namkyu1999 <lak9348@gmail.com> * chore: add a license Signed-off-by: namkyu1999 <lak9348@gmail.com> * misc Signed-off-by: namkyu1999 <lak9348@gmail.com> * feat: add javadoc Signed-off-by: namkyu1999 <lak9348@gmail.com> * delete apidocs dir Signed-off-by: namkyu1999 <lak9348@gmail.com> * feat: add gh-actions Signed-off-by: namkyu1999 <lak9348@gmail.com> --------- Signed-off-by: namkyu1999 <lak9348@gmail.com>
1 parent 3327ea8 commit 801c943

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

.DS_Store

6 KB
Binary file not shown.

.github/workflows/javadoc.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Deploy Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Setup Python
14+
uses: actions/setup-python@v1
15+
with:
16+
python-version: 3.x
17+
- name: Set up Java 17
18+
uses: actions/setup-java@v4
19+
with:
20+
distribution: 'adopt'
21+
java-version: 17
22+
cache: 'maven'
23+
- name: build docs
24+
run: |
25+
mvn generate-sources
26+
mvn javadoc:javadoc
27+
- name: deploy docs
28+
uses: peaceiris/actions-gh-pages@v2.5.0
29+
env:
30+
github_token: ${{ secrets.GITHUB_TOKEN }}
31+
publish_dir: ./target/docs/apidocs

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@
200200
<version>3.11.2</version>
201201
<configuration>
202202
<source>${maven.compiler.source}</source>
203-
<target>${maven.compiler.source}</target>
204203
</configuration>
205204
</plugin>
206205
</plugins>

0 commit comments

Comments
 (0)