Hopefully fix header auth

This commit is contained in:
Johannes Frohnmeyer 2022-07-23 21:37:40 +02:00
parent c1f3f7e57a
commit 66c80af2d7
Signed by: Johannes
GPG Key ID: E76429612C2929F4
2 changed files with 8 additions and 2 deletions

View File

@ -114,7 +114,10 @@ publishing {
credentials(HttpHeaderCredentials::class) {
name = "Job-Token"
value = System.getenv().get("CI_JOB_TOKEN")
value = System.getenv()["CI_JOB_TOKEN"]
}
authentication {
create<HttpHeaderAuthentication>("header")
}
}
}

View File

@ -91,7 +91,10 @@ publishing {
credentials(HttpHeaderCredentials::class) {
name = "Job-Token"
value = System.getenv().get("CI_JOB_TOKEN")
value = System.getenv()["CI_JOB_TOKEN"]
}
authentication {
create<HttpHeaderAuthentication>("header")
}
}
}