Skip to content

Commit

Permalink
Add release dokka workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Dec 18, 2024
1 parent 73ba580 commit 9ed9c26
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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

0 comments on commit 9ed9c26

Please sign in to comment.