Configure secrets.
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Oliver Rümpelein 2023-09-04 11:16:51 +02:00
parent aa478a5ed9
commit 11b6400ed4
2 changed files with 6 additions and 3 deletions

View file

@ -10,3 +10,6 @@ steps:
- gradle publish - gradle publish
when: when:
branch: master branch: master
secrets:
- source: maven-repo-token
target: ci_job_token

View file

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