Skip to content

Commit

Permalink
Add documentation pages
Browse files Browse the repository at this point in the history
  • Loading branch information
gastonfournier committed Jul 18, 2024
1 parent bcbaef9 commit 2e487ed
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: gh-pages

on:
push:
branches:
- main

jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin

- name: Build docs
run: ./gradlew --no-daemon unleashandroidsdk:dokkaHtml

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: unleashandroidsdk/build/dokka/html # The folder the action should deploy.
2 changes: 1 addition & 1 deletion unleashandroidsdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
signing
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin.android)
id("org.jetbrains.dokka") version "1.7.10"
id("org.jetbrains.dokka") version "1.9.20"
id("pl.allegro.tech.build.axion-release") version "1.18.2"
}

Expand Down

0 comments on commit 2e487ed

Please sign in to comment.