31 lines
726 B
YAML
31 lines
726 B
YAML
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
|
|
|
|
- name: Generate documentation
|
|
run: make mkdocs-build
|
|
|
|
- name: Deploy 🚀
|
|
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
|
|
with:
|
|
branch: gh-pages
|
|
folder: platform/android/site
|
|
target-folder: android/examples/
|