Workflow file for this run
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: Publish Dokka documentation | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
publish_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
distribution: 'liberica' | |
cache: 'gradle' | |
- name: Render Dokka documentation | |
run: ./gradlew dokkaHtmlMultiModule | |
- name: Publish Dokka Documentation | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build/dokka/htmlMultiModule | |
publish_branch: docs |