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
|
||||
commands:
|
||||
- gradle publish
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
# when:
|
||||
# branch:
|
||||
# - master
|
||||
secrets:
|
||||
- source: maven-repo-token
|
||||
target: ci_job_token
|
||||
|
|
|
@ -54,9 +54,12 @@ publishing {
|
|||
maven {
|
||||
name = "Gitea"
|
||||
url = uri("https://git.f3l.de/api/packages/pheerai/maven/")
|
||||
credentials {
|
||||
username = "pheerai"
|
||||
password = System.getenv("CI_JOB_TOKEN")
|
||||
credentials(HttpHeaderCredentials::class.java) {
|
||||
name = "Authorization"
|
||||
value = System.getenv("CI_JOB_TOKEN")
|
||||
}
|
||||
authentication {
|
||||
create<HttpHeaderAuthentication>("header")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue