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