Compare commits
2 commits
0a1a03bc40
...
69acc16cb1
Author | SHA1 | Date | |
---|---|---|---|
69acc16cb1 | |||
c5c4f3e9a3 |
2 changed files with 6 additions and 9 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,12 +54,9 @@ 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(HttpHeaderCredentials::class.java) {
|
credentials {
|
||||||
name = "Authorization"
|
username = "pheerai"
|
||||||
value = System.getenv("CI_JOB_TOKEN")
|
password = System.getenv("CI_JOB_TOKEN")
|
||||||
}
|
|
||||||
authentication {
|
|
||||||
create<HttpHeaderAuthentication>("header")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue