Skip to content

Commit

Permalink
Fix createCurrentDocsFolder task
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Jul 23, 2023
1 parent 02bba2d commit d6587cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions documentation/documentation.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -447,11 +447,10 @@ tasks {

val createCurrentDocsFolder by registering(Copy::class) {
dependsOn(prepareDocsForUploadToGhPages)
outputs.dir("$docsDir/current")
onlyIf { replaceCurrentDocs }

from("$docsDir/$docsVersion")
into("$docsDir/current")
from(docsDir.map { it.dir(docsVersion.toString()) })
into(docsDir.map { it.dir("current") })
}

val configureGitAuthor by registering {
Expand Down

0 comments on commit d6587cf

Please sign in to comment.