Skip to content

Merge pull request #762 from skydoves/renovate/actions-setup-java-3.x #4

Merge pull request #762 from skydoves/renovate/actions-setup-java-3.x

Merge pull request #762 from skydoves/renovate/actions-setup-java-3.x #4

Workflow file for this run

name: ReleaseDocs
on:
push:
branches:
- main
workflow_dispatch:
jobs:
publish_dokka:
name: Dokka docs
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/[email protected]
with:
ref: main
- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: adopt
java-version: 17
- name: Generate Dokka HTML docs
run: ./gradlew dokkaHtmlMultimodule
- name: Deploy to GitHub pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.DOCUSAURUS_GH_TOKEN }}
publish_dir: ./build/dokka/htmlMultiModule
publish_branch: gh-pages