Skip to content

Commit

Permalink
Fixed. Workflow (#130)
Browse files Browse the repository at this point in the history
Fixed. Workflow (#130)
  • Loading branch information
hi-manshu committed May 21, 2023
1 parent 84db74c commit 5d148ca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/run-dokka.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Dokka Documentation
on: push
on: workflow_dispatch

jobs:
run:
Expand All @@ -25,8 +25,9 @@ jobs:
- name: Gather API Documentation
run: |
mkdir gh-pages
mv README.md gh-pages/README.md
mv build/docs gh-pages/docs
mkdir gh-pages/docs
mv README.md gh-pages/
mv docs/*.md gh-pages/docs
- name: Publish Documentation
uses: JamesIves/github-pages-deploy-action@v4.3.3
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
![Github: Open Issues](https://img.shields.io/github/issues-raw/hi-manshu/kalendar?color=7E8EFB&label=Kalendar%3A%20Open%20Issues)
[![Kalendar](https://img.shields.io/badge/Kotlin%20Weekly-%23286-orange)](https://mailchi.mp/kotlinweekly/kotlin-weekly-286)
[![Kalendar](https://img.shields.io/badge/Android%20Weekly-%23533-Pink)](https://androidweekly.net/issues/issue-533)
[![Kalendar](https://img.shields.io/badge/Canopas%20Engineering-%2372-blue)](https://blog.canopas.com/android-stack-weekly-issue-72-20658bea40a2)
[![Github Followers](https://img.shields.io/github/followers/hi-manshu?label=Follow&style=social)](https://github.com/hi-manshu)
[![Twitter Follow](https://img.shields.io/twitter/follow/hi_man_shoe?label=Follow&style=social)](https://twitter.com/hi_man_shoe)

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ plugins {
apply plugin: 'org.jetbrains.dokka'

tasks.dokkaHtmlMultiModule.configure {
outputDirectory.set(project.mkdir("build/docs"))
outputDirectory.set(project.mkdir("docs"))
}

0 comments on commit 5d148ca

Please sign in to comment.