Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mani1232 committed Jun 29, 2024
1 parent 36442c9 commit 418d790
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This workflow will build and deploy docs to GitHub Pages whenever something is pushed to the main branch

name: Docs

on:
push:
branches:
- master

permissions:
contents: write

jobs:
docs:
name: Build and deploy docs
runs-on: ubuntu-latest
concurrency: # Allow one concurrent deployment
group: pages
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build docs with Gradle
run: ./gradlew --stacktrace --info dokkaHtmlMultiModule
- name: Deploy docs to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build/dokka/htmlMultiModule
branch: gh-pages
git-config-name: GitHub Actions
git-config-email: [email protected]
commit-message: Update docs

0 comments on commit 418d790

Please sign in to comment.