Skip to content

Merge pull request #265 from rubensousa/1.4.0-alpha06 #53

Merge pull request #265 from rubensousa/1.4.0-alpha06

Merge pull request #265 from rubensousa/1.4.0-alpha06 #53

Workflow file for this run

name: Publish docs
on:
push:
paths:
- 'docs/**'
- 'mkdocs.yml'
- '.github/workflows/docs.yml'
- '.github/workflows/docs_pr.yml'
branches:
- 'master'
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build docs
run: |
./gradlew dokkaHtmlMultiModule
mv ./build/dokka/htmlMultiModule docs/api
- name: Install dependencies
run: |
pip install mkdocs-material mkdocs-material-extensions mkdocs-markdownextradata-plugin
- name: Deploy docs
run: mkdocs gh-deploy --force