SchildiChat-android/.github/workflows/docs.yml
SpiritCroc a61b7e91e6 [TMP] Automatic upstream merge preparation
Change-Id: I4b0e2b2ccbd1888920b14d0a4ff82b62f995d08d
2022-08-10 15:41:16 +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@v2
- 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