Skip to content

Deploy Documentation Website #5

Deploy Documentation Website

Deploy Documentation Website #5

Workflow file for this run

name: Deploy Documentation Website
on: workflow_dispatch
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Set up JDK"
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 11
- name: "Build API documentation"
run: ./gradlew dokkaHtml
- name: "Add API docs to mkdocs structure"
run: mv ./build/dokka/html/ ./docs/api/
- name: "Install Python"
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: "Build and deploy documentation website"
run: |
pip install mkdocs-material
mkdocs gh-deploy --force