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

View file

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