diff --git a/build.gradle.kts b/build.gradle.kts index 25426a6..3b3737f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -54,12 +54,9 @@ publishing { maven { name = "Gitea" url = uri("https://git.f3l.de/api/packages/pheerai/maven/") - credentials(HttpHeaderCredentials::class.java) { - name = "Authorization" - value = System.getenv("CI_JOB_TOKEN") - } - authentication { - create("header") + credentials { + username = "pheerai" + password = System.getenv("CI_JOB_TOKEN") } } }