feat: enhanced DSL #186
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: Docs | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
publish: | |
name: Update documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Pull code | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 21 | |
distribution: adopt | |
- name: Build documentation | |
run: ./gradlew dokkaHtml --no-configuration-cache | |
- name: Add sample test page | |
run: mv sample.html build/dokka/sample.html | |
- name: Publish documentation | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: build/dokka |