giteaCi #1

Open
pheerai wants to merge 8 commits from giteaCi into master
2 changed files with 6 additions and 3 deletions
Showing only changes of commit 11b6400ed4 - Show all commits

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 {