Skip to content

refactor: Migrate to Dokkatoo (#10) #4

refactor: Migrate to Dokkatoo (#10)

refactor: Migrate to Dokkatoo (#10) #4

Workflow file for this run

name: Generate docs
on:
push:
branches:
- main
paths-ignore:
- '**.md'
- '**.yaml'
workflow_dispatch:
permissions:
contents: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: zulu
- name: Build documentation
run: ./gradlew :library:dokkatooGeneratePublicationHtml
- name: Publish documentation
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
BRANCH: gh-pages
FOLDER: library/build/docs/html