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