Skip to content

Commit

Permalink
Check if upgrading Gradle broke documentation upload
Browse files Browse the repository at this point in the history
  • Loading branch information
arhohuttunen committed Oct 14, 2023
1 parent 8996ae8 commit 8e2d2a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies {

val snapshot = rootProject.version.toString().contains("SNAPSHOT")
val docsVersion = if (snapshot) "snapshot" else rootProject.version
val docsDir = layout.buildDirectory.file("gh-pages-docs")
val docsDir = file("$buildDir/gh-pages-docs")

gitPublish {
repoUri.set("https://github.com/arhohuttunen/awstestkit.git")
Expand Down Expand Up @@ -94,7 +94,7 @@ tasks {
dependsOn(asciidoctor)
outputs.dir(docsDir)

from(layout.buildDirectory.dir("checksum")) {
from("$buildDir/checksum") {
include("published-checksum.txt")
}
from(asciidoctor.map { it.outputDir }) {
Expand Down

0 comments on commit 8e2d2a2

Please sign in to comment.