Skip to content
Snippets Groups Projects
Commit f0ee0a00 authored by Benoit Marty's avatar Benoit Marty
Browse files

Add GH Action to build and publish documentation

parent bdd09fd7
No related branches found
No related tags found
No related merge requests found
name: Generate and publish Android Matrix SDK documentation
on:
push:
branches: [ main ]
jobs:
docs:
name: Docs
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment