Compare commits

..

2 commits

Author SHA1 Message Date
69acc16cb1 Only push on master build - if it's working at all.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-04 12:07:33 +02:00
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")
}
}
}