Benoit Marty 79982af8d1 Revert "Temporary trigger the doc generation on pull request to check the workflow"
This reverts commit 7f2484ca4c54ba6714f1b3bcb8f942317cd96831.
2022-05-11 11:47:36 +02:00

23 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