Skip to content

githubpages

githubpages #3

Workflow file for this run

name: githubpages
on:
release:
types: [published]
workflow_dispatch:
branches: [main]
inputs:
version:
description: 'Version'
required: true
type: string
jobs:
githubpages:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gradle/gradle-build-action@v2
with:
arguments: -Pversion=${{ github.event.release.tag_name }} dokkaHtmlMultiModule
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/dokka/htmlMultiModule