-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (29 loc) · 793 Bytes
/
docs.yml
File metadata and controls
38 lines (29 loc) · 793 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
name: Deploy Dokka Documentation on GitHub Pages
on:
release:
types: [published]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Generate aggregated Dokka docs
run: ./gradlew dokkaGenerateHtml
- name: Upload artifact for GitHub Pages
uses: actions/upload-pages-artifact@v3
with:
path: build/dokka/html
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4