-
-
Notifications
You must be signed in to change notification settings - Fork 80
33 lines (30 loc) · 945 Bytes
/
docs.yml
File metadata and controls
33 lines (30 loc) · 945 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
name: Publish documentation
on:
push:
branches:
- master
workflow_dispatch:
permissions: { }
jobs:
build-documentation:
name: "Build documentation"
runs-on: ubuntu-latest
permissions:
contents: write # Required to push commits to gh-pages branch
timeout-minutes: 30
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # tag=v6.0.2
with:
persist-credentials: false
- name: Set up JDK
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # tag=v5.2.0
with:
distribution: temurin
java-version: '25'
- name: Build with Maven
run: mvn -B --no-transfer-progress package
- name: Deploy documentation
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # tag=v4.8.0
with:
branch: gh-pages
folder: target/reports/apidocs