Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
943 B
YAML
36 lines
943 B
YAML
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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
|
|
with:
|
|
distribution: "temurin"
|
|
java-version: "17"
|
|
|
|
- name: Generate documentation
|
|
run: ./gradlew dokkaGenerate
|
|
|
|
- name: Deploy 🚀
|
|
uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 # v4.9.0
|
|
with:
|
|
branch: gh-pages
|
|
folder: platform/android/MapLibreAndroid/build/dokka/html
|
|
target-folder: android/api/
|