KoVibes-docs-CI #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# KoVibes documentation workflow | |
name: KoVibes-docs-CI | |
on: | |
workflow_dispatch: | |
jobs: | |
# Generate the documentation | |
generate-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v4 | |
- name: Setup gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Build documentation | |
run: ./gradlew kovibes:dokkaHtml | |
- name: Publish documentation | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: ./kovibes/build/dokka/html |