SchildiChat-android/.github/workflows/docs.yml
SpiritCroc c92c579eb6 [TMP] Automatic upstream merge preparation
Change-Id: I1e101e6410585303689b9ee1383587c4d1b1f076
2023-02-23 11:39:53 +01:00

22 lines
501 B
YAML

name: Documentation
on:
push:
branches: [ develop ]
jobs:
docs:
name: Generate and publish Android Matrix SDK documentation
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build docs
run: ./gradlew dokkaHtml
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./matrix-sdk-android/build/dokka/html