Skip to content

Commit

Permalink
Change scaladoc setup to use the web3 module
Browse files Browse the repository at this point in the history
  • Loading branch information
KacperFKorban committed Mar 19, 2024
1 parent eadc870 commit a15c5f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scaladoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
java-version: 11

- name: Generate GUInep documentation
run: sbt guinep3/doc
run: sbt web3/doc

- name: Setup Pages
uses: actions/configure-pages@v2

- 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
Expand Down
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand All @@ -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"
Expand Down

0 comments on commit a15c5f9

Please sign in to comment.