We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d8f40a commit 2fcf43dCopy full SHA for 2fcf43d
.github/workflows/dokka-publish.yml
@@ -0,0 +1,31 @@
1
+name: Publish Dokka Documentation
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ build-and-publish:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v2
14
+ with:
15
+ fetch-depth: 0
16
17
+ - name: Set up JDK
18
+ uses: actions/setup-java@v2
19
20
+ distribution: 'temurin'
21
+ java-version: '11'
22
23
+ - name: Generate Dokka HTML documentation
24
+ run: ./gradlew dokkaHtml
25
26
+ - name: Deploy to GitHub Pages
27
+ uses: peaceiris/actions-gh-pages@v3
28
29
+ github_token: ${{ secrets.GITHUB_TOKEN }}
30
+ publish_dir: ./build/dokka/html
31
+ publish_branch: gh-pages
0 commit comments