Prepare for release 0.4.0. (#51) #39
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: 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: | |
publish-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/[email protected] | |
with: | |
path: lib/build/dokka/html | |
- name: Deploy GitHub Pages site | |
uses: actions/[email protected] |