SchildiChat-android/.github/workflows/docs.yml
SpiritCroc e54a8029b1 [TMP] Automatic upstream merge preparation
Change-Id: Iff21d6b13a6482dfdce0714f59946604dfd1762c
2023-07-26 11:01:44 +02: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