Use BASIC instead of token.

This commit is contained in:
Oliver Rümpelein 2023-09-04 11:45:06 +02:00
parent 0a1a03bc40
commit c5c4f3e9a3

View file

@ -54,12 +54,9 @@ publishing {
maven { maven {
name = "Gitea" name = "Gitea"
url = uri("https://git.f3l.de/api/packages/pheerai/maven/") url = uri("https://git.f3l.de/api/packages/pheerai/maven/")
credentials(HttpHeaderCredentials::class.java) { credentials {
name = "Authorization" username = "pheerai"
value = System.getenv("CI_JOB_TOKEN") password = System.getenv("CI_JOB_TOKEN")
}
authentication {
create<HttpHeaderAuthentication>("header")
} }
} }
} }