Merge pull request #8844 from element-hq/feature/valere/fix_sonar_ci #1251
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |