Skip to content

gh-pages-android-api #101

gh-pages-android-api

gh-pages-android-api #101

name: gh-pages-android-api
on:
workflow_dispatch:
workflow_run:
workflows: [android-release]
types:
- completed
jobs:
gh-pages-android-api:
defaults:
run:
working-directory: platform/android
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
with:
persist-credentials: false
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v4
with:
distribution: "temurin"
java-version: "17"
- name: Generate documentation
run: ./gradlew dokkaGenerate
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
with:
branch: gh-pages
folder: platform/android/MapLibreAndroid/build/dokka/html
target-folder: android/api/