Skip to content

MAIN-T-119 Publish JavaDoc to GitHub Pages #4

MAIN-T-119 Publish JavaDoc to GitHub Pages

MAIN-T-119 Publish JavaDoc to GitHub Pages #4

Workflow file for this run

name: documentation
on:
# push:
# branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
# unit:
# runs-on: ubuntu-latest
# permissions:
# contents: read
# steps:
# - uses: actions/checkout@v4
# - name: Set up JDK 17
# uses: actions/setup-java@v4
# with:
# java-version: '17'
# distribution: 'temurin'
# - name: Setup Gradle
# uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
# - name: Run tests with Gradle Wrapper
# run: ./gradlew koverVerify
publish-javadoc:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
- name: Generate documentation with Gradle Wrapper
working-directory: server
run: ./gradlew dokkaHtml
# - name: Deploy JavaDoc 🚀
# uses: MathieuSoysal/[email protected]
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# javadoc-branch: javadoc
# java-version: 17
# project: gradle
# target-folder: javadoc
# javadoc-source-folder: build/dokka/html