diff --git a/build.gradle.kts b/build.gradle.kts index 2836227..c7e451b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -62,12 +62,11 @@ publishing { name = "GitLab" credentials(HttpHeaderCredentials::class.java) { - name = "Job-Token" value = System.getenv("CI_JOB_TOKEN") } authentication { - HttpHeaderAuthentication::class.java + credentials } } }