Skip to content

Commit

Permalink
Fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoo committed Jan 8, 2022
1 parent c8e5cc6 commit 0cef2da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,16 @@ lazy val commonSettings =
Developer(id = "vigoo", name = "Daniel Vigovszky", email = "[email protected]", url = url("https://vigoo.github.io"))
),

sonatypeCredentialHost := "s01.oss.sonatype.org",
sonatypeRepository := "https://s01.oss.sonatype.org/service/local",
credentials ++=
(for {
username <- Option(System.getenv().get("SONATYPE_USERNAME"))
password <- Option(System.getenv().get("SONATYPE_PASSWORD"))
} yield
Credentials(
"Sonatype Nexus Repository Manager",
"oss.sonatype.org",
"s01.oss.sonatype.org",
username,
password)).toSeq
)
Expand Down

0 comments on commit 0cef2da

Please sign in to comment.