-
-
Notifications
You must be signed in to change notification settings - Fork 61
31 lines (28 loc) · 893 Bytes
/
docs.yml
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
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # tag=v4.2.1
- name: Set up JDK 8
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # tag=v4.4.0
with:
distribution: temurin
java-version: 8
- name: Build with Maven
run: mvn -B --no-transfer-progress package
- name: Deploy documentation
uses: JamesIves/github-pages-deploy-action@62fec3add6773ec5dbbf18d2ee4260911aa35cf4 # tag=v4.6.9
with:
branch: gh-pages
folder: target/reports/apidocs