Split out Android examples to separate documentation site (#2978)
This commit is contained in:
5
.github/workflows/android-ci.yml
vendored
5
.github/workflows/android-ci.yml
vendored
@@ -143,8 +143,11 @@ jobs:
|
||||
- name: Build libmaplibre.so for arm-v8
|
||||
run: make android-lib-arm-v8
|
||||
|
||||
- name: Build documentation
|
||||
- name: Build API documentation
|
||||
run: ./gradlew dokkaHtml
|
||||
|
||||
- name: Build Examples documentation
|
||||
run: make mkdocs-build
|
||||
|
||||
- name: Copy developer config with API key for UI tests
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
||||
30
.github/workflows/gh-pages-android-examples.yml
vendored
Normal file
30
.github/workflows/gh-pages-android-examples.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: gh-pages-android-examples
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'platform/android/**'
|
||||
|
||||
jobs:
|
||||
gh-pages-android-examples:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: platform/android
|
||||
shell: bash
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Generate documentation
|
||||
run: make mkdocs-build
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4.6.8
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: platform/android/site
|
||||
target-folder: maplibre-native/android/examples/
|
||||
Reference in New Issue
Block a user