Skip to content

Merge pull request #763 from skydoves/renovate/actions-checkout-4.x #15

Merge pull request #763 from skydoves/renovate/actions-checkout-4.x

Merge pull request #763 from skydoves/renovate/actions-checkout-4.x #15

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