File tree Expand file tree Collapse file tree 2 files changed +40
-1
lines changed
Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 4545 HF_API_KEY : ${{ secrets.HF_API_KEY }}
4646 PALM_API_KEY : ${{ secrets.PALM_API_KEY }}
4747 run : mvn --batch-mode --update-snapshots package
48-
48+ - name : Generate documentation
49+ run : mvn javadoc:aggregate
4950
Original file line number Diff line number Diff line change 1+ name : Deploy Javadoc
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ publish :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v3
17+ with :
18+ fetch-depth : 1
19+
20+ - name : Set up Java
21+ uses : actions/setup-java@v3
22+ with :
23+ java-version : 8
24+ distribution : ' temurin'
25+ cache : maven
26+
27+ - name : Generate Javadoc
28+ run : mvn javadoc:aggregate
29+ shell : bash
30+
31+ - name : Deploy to GitHub Page 🚀
32+ uses : JamesIves/github-pages-deploy-action@v4.4.3
33+ with :
34+ token : ${{ secrets.GITHUB_TOKEN }}
35+ branch : javadoc
36+ clean : true
37+ folder : target/site/apidocs
38+ target-folder : javadoc
You can’t perform that action at this time.
0 commit comments