-
Notifications
You must be signed in to change notification settings - Fork 6
40 lines (34 loc) · 1.15 KB
/
generate-dokka.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
32
33
34
35
36
37
38
39
40
name: Deploy Dokka docs
on:
push:
branches:
- develop # later on we should stick to main, since there will be the releases
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Generate Dokka docs
run: make doc/generate-kdocs
env:
GITHUB_USER: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy docs 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
clean: false
folder: build/dokka/htmlMultiModule
target-folder: docs