Skip to content

Commit

Permalink
Merge pull request #1 from manriif/dev
Browse files Browse the repository at this point in the history
init
  • Loading branch information
manriif authored Jun 28, 2024
2 parents a231a7e + 0d29a6f commit 2a6a955
Show file tree
Hide file tree
Showing 83 changed files with 6,773 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/dokka.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy multi-module dokka to GitHub Pages

on:
# Runs on pushes targeting the default branch
# Pattern matched against refs/tags
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3.1.0
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
cache-read-only: true
- name: Build multi-module GH pages
run: ./gradlew dokkaHtmlMultiModule
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'dokka/documentation'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.gradle/
.idea/
.kotlin/

build
detekt/reports/**
dokka/documentation/**
local.properties
Loading

0 comments on commit 2a6a955

Please sign in to comment.