Skip to content

Prepare for release 0.5.12. (#111) #97

Prepare for release 0.5.12. (#111)

Prepare for release 0.5.12. (#111) #97

Workflow file for this run

name: Build and deploy documentation to GitHub Pages
on:
push:
branches:
- main
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
# Build job
build-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build html
run: bin/gradle dokkaHtml --no-daemon --stacktrace
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: lib/build/dokka/html
# Publish job
publish-documentation:
needs: build-documentation
runs-on: ubuntu-latest
steps:
- name: Deploy GitHub Pages site
uses: actions/deploy-pages@v3