Merge pull request #174 from Lyzev/171-bug-torus-race-condition #63
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: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
dokka: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
cache: gradle | |
- name: Setup | |
run: 'chmod +x ./gradlew' | |
- name: Download Assets | |
run: './gradlew downloadAssets' | |
- name: Generate Sources | |
run: './gradlew genSources' | |
- name: Dokka Build | |
run: './gradlew dokkaHtml' | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build/dokka/html | |
publish_branch: gh-pages | |
destination_dir: ./dokka |