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 9986d92 commit 65918efCopy full SHA for 65918ef
.github/workflows/docs.yaml
@@ -0,0 +1,27 @@
1
+name: Build and Publish Docs
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '[0-9]+.[0-9]+.0' # New Major or Minor Releases
7
+jobs:
8
+ docs:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout Project
12
+ uses: actions/checkout@v3
13
+ - name: Set up JDK 11
14
+ uses: actions/setup-java@v3
15
+ with:
16
+ distribution: 'temurin'
17
+ java-version: '11'
18
+ - name: Use tag as version
19
+ run: echo "${GITHUB_REF#refs/*/}" > version.txt
20
+ - name: Generate Docs with Dokka
21
+ run: ./gradlew dokkaHtmlMultiModule
22
+ - name: Publish to GitHub Pages
23
+ uses: peaceiris/actions-gh-pages@v3
24
25
+ github_token: ${{ secrets.GITHUB_TOKEN }}
26
+ publish_dir: build/dokka
27
+ keep_files: true
0 commit comments