Skip to content

Commit

Permalink
Add release docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Oct 18, 2023
1 parent 96e0df1 commit 63da43c
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 63da43c

Please sign in to comment.