diff --git a/.github/workflows/scaladoc.yml b/.github/workflows/scaladoc.yml index aa8be66..081f278 100644 --- a/.github/workflows/scaladoc.yml +++ b/.github/workflows/scaladoc.yml @@ -31,7 +31,7 @@ jobs: java-version: 11 - name: Generate GUInep documentation - run: sbt guinep3/doc + run: sbt web3/doc - name: Setup Pages uses: actions/configure-pages@v2 @@ -39,7 +39,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: - path: 'GUInep/target/jvm-3/api' + path: 'web/target/jvm-3/api' - name: Deploy to GitHub Pages id: deployment diff --git a/build.sbt b/build.sbt index 4731e17..50e57bd 100644 --- a/build.sbt +++ b/build.sbt @@ -40,10 +40,7 @@ lazy val guinep = projectMatrix .in(file("guinep")) .settings(commonSettings) .settings( - name := "GUInep", - Compile / doc / scalacOptions ++= Seq( - "-siteroot", "docs" - ) + name := "GUInep" ) .jvmPlatform(scalaVersions = List(scala3)) @@ -52,6 +49,9 @@ lazy val web = projectMatrix .settings(commonSettings) .settings( name := "GUInep-web", + Compile / doc / scalacOptions ++= Seq( + "-siteroot", "docs" + ), libraryDependencies ++= Seq( "dev.zio" %% "zio-http" % "3.0.0-RC4", "dev.zio" %% "zio-json" % "0.6.2"