generated from KevinnZou/compose-multiplatform-library-template
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (35 loc) · 843 Bytes
/
wiki.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
41
42
43
name: Publish Wiki
on:
push:
branches:
- main
paths-ignore:
- sample
concurrency:
group: publish-wiki
cancel-in-progress: true
jobs:
publish-wiki:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Generate Wiki
run: ./gradlew dokkaHtmlMultiModule
- name: Upload Wiki
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./build/dokka/htmlMultiModule
branch: gh-pages
force: true