Compare commits

...

2 Commits

Author SHA1 Message Date
Oliver Rümpelein 69acc16cb1 Only push on master build - if it's working at all.
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-09-04 12:07:33 +02:00
Oliver Rümpelein c5c4f3e9a3 Use BASIC instead of token. 2023-09-04 11:45:06 +02:00
2 changed files with 6 additions and 9 deletions

View File

@ -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

View File

@ -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")
}
}
}