Skip to content

Use GitHub pages v4 workflow #10

Use GitHub pages v4 workflow

Use GitHub pages v4 workflow #10

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@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/dokka/htmlMultiModule
publish_branch: gh-pages