-
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (31 loc) · 879 Bytes
/
Copy pathjavadoc.yml
File metadata and controls
39 lines (31 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Javadoc CI
on:
workflow_run:
workflows: ["Release Version"]
types:
- completed
workflow_dispatch:
permissions:
contents: write
jobs:
javadoc:
if: ${{ github.repository_owner == 'yL3oft' }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'
- name: Build & generate Javadoc
run: mvn clean javadoc:javadoc
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
personal_token: ${{ secrets.ACTIONS_DEPLOY_TOKEN }}
external_repository: yL3oft/zPlugins
publish_branch: gh-pages
publish_dir: target/reports/apidocs
destination_dir: zAPI/javadocs