-
-
Notifications
You must be signed in to change notification settings - Fork 29
34 lines (34 loc) · 816 Bytes
/
docs.yml
File metadata and controls
34 lines (34 loc) · 816 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
name: docs
on:
workflow_dispatch:
push:
branches:
- 'dev/master'
paths:
- 'docs/**'
- 'src/api/**'
- 'settings.gradle.kts'
- 'build.gradle.kts'
- 'gradle.properties'
- 'mkdocs.yml'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
- uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: true
- run: ./gradlew apiJavadoc
env:
GIT_HASH: ${{ steps.vars.outputs.git_hash }}
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
- run: ./gradlew --stop