giteaCi #1
2 changed files with 6 additions and 3 deletions
|
@ -10,3 +10,6 @@ steps:
|
||||||
- gradle publish
|
- gradle publish
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
|
secrets:
|
||||||
|
- source: maven-repo-token
|
||||||
|
target: ci_job_token
|
||||||
|
|
|
@ -52,10 +52,10 @@ publishing {
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url = uri("https://git.f3l.de/api/v4/projects/160/packages/maven")
|
name = "F3L Gitea"
|
||||||
name = "GitLab"
|
url = uri("https://git.f3l.de/api/packages/pheerai/maven")
|
||||||
credentials(HttpHeaderCredentials::class.java) {
|
credentials(HttpHeaderCredentials::class.java) {
|
||||||
name = "Job-Token"
|
name = "Authorization"
|
||||||
value = System.getenv("CI_JOB_TOKEN")
|
value = System.getenv("CI_JOB_TOKEN")
|
||||||
}
|
}
|
||||||
authentication {
|
authentication {
|
||||||
|
|
Loading…
Reference in a new issue