Skip to content

Merge pull request #54 from orangain/dependabot/gradle/jvm-2.0.10 #46

Merge pull request #54 from orangain/dependabot/gradle/jvm-2.0.10

Merge pull request #54 from orangain/dependabot/gradle/jvm-2.0.10 #46

Workflow file for this run

name: Publish Document
on:
push:
tags:
- "**"
branches:
- main
- dokka
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build document with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: dokkaHtmlMultiModule
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./build/dokka/htmlMultiModule
destination_dir: ./${{ github.ref_name }}/api