Compare commits
No commits in common. "69acc16cb123fa9b4aacdc5e057d97632c9b11d7" and "0a1a03bc402685cf4b59f3ea3c8336105b3bdf59" have entirely different histories.
69acc16cb1
...
0a1a03bc40
2 changed files with 9 additions and 6 deletions
|
@ -8,9 +8,9 @@ steps:
|
||||||
image: gradle:jdk17
|
image: gradle:jdk17
|
||||||
commands:
|
commands:
|
||||||
- gradle publish
|
- gradle publish
|
||||||
when:
|
# when:
|
||||||
branch:
|
# branch:
|
||||||
- master
|
# - master
|
||||||
secrets:
|
secrets:
|
||||||
- source: maven-repo-token
|
- source: maven-repo-token
|
||||||
target: ci_job_token
|
target: ci_job_token
|
||||||
|
|
|
@ -54,9 +54,12 @@ 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 {
|
credentials(HttpHeaderCredentials::class.java) {
|
||||||
username = "pheerai"
|
name = "Authorization"
|
||||||
password = System.getenv("CI_JOB_TOKEN")
|
value = System.getenv("CI_JOB_TOKEN")
|
||||||
|
}
|
||||||
|
authentication {
|
||||||
|
create<HttpHeaderAuthentication>("header")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue