Skip to content

Commit

Permalink
ci: generate documentation and publish to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
wzieba committed Jan 30, 2024
1 parent c68e6ec commit a68c882
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Generate documentation

on:
release:
types: [ released ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Generate API documentation
run: ./gradlew dokkaHtml
- name: Deploy API documentation to Github Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: parsely/build/dokka/html

0 comments on commit a68c882

Please sign in to comment.