Skip to content

Improve signing config #29

Improve signing config

Improve signing config #29

Workflow file for this run

name: Generate dokka github pages
on:
push:
branches: [ master ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Generate documentation directory
uses: gradle/gradle-build-action@v2
with:
arguments: dokkaHtml
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./build/dokka/html
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4