Skip to content

Commit 0cef2da

Browse files
committed
Fix publishing
1 parent c8e5cc6 commit 0cef2da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,16 @@ lazy val commonSettings =
5757
Developer(id = "vigoo", name = "Daniel Vigovszky", email = "daniel.vigovszky@gmail.com", url = url("https://vigoo.github.io"))
5858
),
5959

60+
sonatypeCredentialHost := "s01.oss.sonatype.org",
61+
sonatypeRepository := "https://s01.oss.sonatype.org/service/local",
6062
credentials ++=
6163
(for {
6264
username <- Option(System.getenv().get("SONATYPE_USERNAME"))
6365
password <- Option(System.getenv().get("SONATYPE_PASSWORD"))
6466
} yield
6567
Credentials(
6668
"Sonatype Nexus Repository Manager",
67-
"oss.sonatype.org",
69+
"s01.oss.sonatype.org",
6870
username,
6971
password)).toSeq
7072
)

0 commit comments

Comments
 (0)