This commit is contained in:
FyloZ 2021-03-04 16:59:12 -05:00
parent 710282038f
commit 0a287e4c07
1 changed files with 2 additions and 2 deletions

View File

@ -46,10 +46,10 @@ publishing {
name = "Gitlab"
credentials(HttpHeaderCredentials::class.java) {
val gitlabPrivateTokens: String? by project
val gitlabPrivateToken: String? by project
name = "Private-Token"
value = gitlabPrivateTokens ?: System.getenv("CI_JOB_TOKEN")
value = gitlabPrivateToken ?: System.getenv("CI_JOB_TOKEN")
}
authentication {
create<HttpHeaderAuthentication>("header")