Skip to content

Commit

Permalink
Fix docs builds on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Sep 6, 2022
1 parent e3eb02e commit 95c0826
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
distribution: 'zulu'
java-version: 11

- run: ./gradlew build dokkaHtmlMultiModule
- run: ./gradlew build :mosaic-runtime:dokkaHtml
- run: ./gradlew -p samples build

- run: ./gradlew publish
Expand All @@ -38,6 +38,6 @@ jobs:
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: site
FOLDER: mosaic/build/dokka/htmlMultiModule
FOLDER: mosaic-runtime/build/dokka/html/
TARGET_FOLDER: docs/latest/
CLEAN: true
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: ./gradlew dokkaHtmlMultiModule
- run: ./gradlew :mosaic-runtime:dokkaHtml

- name: Deploy docs to website
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: site
FOLDER: build/dokka/htmlMultiModule
FOLDER: mosaic-runtime/build/dokka/html/
TARGET_FOLDER: docs/0.x/
CLEAN: true
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ buildscript {
}
}

apply plugin: 'org.jetbrains.dokka'

allprojects {
group = GROUP
version = VERSION_NAME
Expand Down

0 comments on commit 95c0826

Please sign in to comment.