diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daf2b85ab..94e2c7963 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -374,5 +374,5 @@ jobs: uses: peaceiris/actions-gh-pages@v3.9.3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: site/target + publish_dir: site/target/site keep_files: true diff --git a/.github/workflows/publish-gh-site.yml b/.github/workflows/publish-gh-site.yml index e834651c1..df5814b1e 100644 --- a/.github/workflows/publish-gh-site.yml +++ b/.github/workflows/publish-gh-site.yml @@ -43,5 +43,5 @@ jobs: uses: peaceiris/actions-gh-pages@v3.9.3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: site/target + publish_dir: site/target/site keep_files: true diff --git a/build.sbt b/build.sbt index 4d38133aa..a7394381e 100644 --- a/build.sbt +++ b/build.sbt @@ -203,7 +203,7 @@ ThisBuild / githubWorkflowAddedJobs ++= Seq( "github_token" -> "${{ secrets.GITHUB_TOKEN }}", "publish_dir" -> { val path = (ThisBuild / baseDirectory).value.toPath.toAbsolutePath - .relativize((site / target).value.toPath) + .relativize((site / makeSite / target).value.toPath) // os-independent path rendering ... (0 until path.getNameCount).map(path.getName).mkString("/") },