SchildiChat-android/upstream_.github/workflows/docs.yml
SpiritCroc 5514e38131 Automatic upstream merge postprocessing
Change-Id: Ic86f87376e4f0566c5b6d6ab98539322646caa2b
2022-11-03 09:44:14 +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@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