Update maven settings to use Gitea. Added workflow publish.
build / build (21) (push) Failing after 11m19s

This commit is contained in:
2024-11-29 18:54:48 -07:00
parent a9c9c06fab
commit 66c631efb0
2 changed files with 12 additions and 5 deletions
+10 -5
View File
@@ -87,11 +87,16 @@ publishing {
// The repositories here will be used for publishing your artifact, not for
// retrieving dependencies.
maven {
name = "personal"
url = "https://maven.bigduckie.dev/releases"
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
name = "Gitea"
url = uri("https://git.bigduckie.dev/api/packages/big-duckie/maven")
credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "token ${System.getenv("GITEA_MAVEN_TOKEN")}"
}
authentication {
header(HttpHeaderAuthentication)
}
}
}