Skip to content

Commit

Permalink
fixing documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vondacho committed May 5, 2023
1 parent 0fd099f commit 56e77e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- name: Build main branch
run: ./gradlew -Pversion=${{ steps.release.outputs.version }} build

- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1

- name: Prepare documentation
run: ./gradlew allureAggregateReport plantumlAll generateSwaggerUI

Expand Down
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,11 @@ mkdocs {
updateSiteUrl = false
sourcesDir = "src/doc"
buildDir = "build/mkdocs"
publish.docPath = "$version".ifEmpty { "snapshot" }
}

gitPublish {
contents {
from("${mkdocs.buildDir}")
from(mkdocs.buildDir)
from("build/reports/tests") {
into("${mkdocs.publish.docPath}/reports/tests")
}
Expand Down

0 comments on commit 56e77e2

Please sign in to comment.