mirror of
https://codeberg.org/moonleay/Gimbal.git
synced 2025-04-04 11:44:13 +02:00
ci: changed repository path for maven packages
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
b286519640
commit
888d8f3f11
1 changed files with 3 additions and 2 deletions
|
@ -188,8 +188,9 @@ publishing {
|
|||
maven {
|
||||
name = "Forgejo"
|
||||
val repoOwner = System.getenv("GITHUB_REPOSITORY_OWNER")
|
||||
val apiEndpoint = System.getenv("GITHUB_API_URL")
|
||||
url = uri("$apiEndpoint/packages/$repoOwner/maven")
|
||||
// val apiEndpoint = System.getenv("GITHUB_API_URL")
|
||||
val serverUrl = System.getenv("GITHUB_SERVER_URL")
|
||||
url = uri("$serverUrl/api/packages/$repoOwner/maven")
|
||||
authentication {
|
||||
create("token", HttpHeaderAuthentication::class.java) {
|
||||
val accessToken = System.getenv("GITHUB_TOKEN")
|
||||
|
|
Loading…
Add table
Reference in a new issue