From c5c4f3e9a39ab75eccdf74601c35cc4a21f43dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20R=C3=BCmpelein?= Date: Mon, 4 Sep 2023 11:45:06 +0200 Subject: [PATCH] Use BASIC instead of token. --- build.gradle.kts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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") } } }