Use BASIC instead of token.
This commit is contained in:
parent
0a1a03bc40
commit
c5c4f3e9a3
1 changed files with 3 additions and 6 deletions
|
@ -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")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue