Skip to content

Commit

Permalink
Create static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fvasco authored and Francesco Vasco committed Oct 1, 2024
1 parent d690ff7 commit 3fca78d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Docs

on:
push:
branches: [ main ]

permissions:
contents: write

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'adopt'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: "8.8"

- name: Build documentation
run: gradle dokkaHtmlMultiModule

- name: Publish documentation
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build/dokka/htmlMultiModule

0 comments on commit 3fca78d

Please sign in to comment.